poj 1459 (最大流)
摘要:
最大流简单题,,这题重要的是知道了scanf("%s",str);sscanf(str,"(%d,%d)%d",&x,&y,&w);读入方式 #include#includeconst int N=210;const int inf=0x3fffffff;int dis[N],gap[N],head[N],num,start,end,ans,n,m;struct edge{ int st,ed,flow,next;}E[21000];struct node{ int x,y,w;}P[40000];void addedge(int 阅读全文
浙公网安备 33010602011771号