摘要:
1 const inf=10000000; 2 var 3 other,a,dis,pre,uu,vv,ww,next,head,e,x,long,w:array[0..50100]of longint; 4 v:Array[0..10010]of boolean; 5 tt,c,ee,s,t,i,j,ans,mincost,n,m,k:longint; 6 function min(aa,bb:longint):longint; 7 begin 8 if aa>bb then exit(bb) 9 else exit(aa);10 end;11 12 func... 阅读全文