摘要:
水。。。CODE:#include<iostream>#include<cstdlib>#include<cstring>#include<cstdio>#include<queue>usingnamespacestd;constintMAXN=510;constintMAXM=510*510;constintINF=0x3f3f3f3f;structEdge{intv,w;intnext;}edge[MAXM],edge2[MAXM];intn,m;intcnt,cnt2;intscnt,top,tot;intfirst[MAXN] 阅读全文