注意说如果直接从每天的新的连向旧的,那整个图的最大流还是不变,答案就一直会是Σni*f type arr=record toward,next,cap,cost:longint; end; const maxm=; maxn=; var edge:..maxm]of arr; dist,first,slack:..maxn]of longint; chose:..maxn]of boolean; n,m,s,t,tot,esum,i,maxflow,maxcost:longint; functi…