太神了直接看了hzwer的题解,有个新认识,一条路径上满流的一定是这条路径上所有边的最小值. type arr=record toward,next,cap,from:longint; end; const maxm=; maxn=; var edge:..maxm]of arr; first,cur,d,p,gap:..maxn]of longint; chose1,chose2:..maxn]of boolean; n,m,s,t,tot,esum:longint; function min…