0_0_22129760_25386\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_22129760_25386\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
^
0_0_22129760_25386\Main.java:2: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_22129760_25386\Main.java:3: 错误: 非法字符: '#'
#include<cstring>
^
0_0_22129760_25386\Main.java:4: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_22129760_25386\Main.java:9: 错误: 需要class, interface或enum
const int MAXN=20010;//点数的最大值
^
0_0_22129760_25386\Main.java:10: 错误: 需要class, interface或enum
const int MAXM=880010;//边数的最大值
^
0_0_22129760_25386\Main.java:11: 错误: 需要class, interface或enum
const int INF=0x3f3f3f3f;
^
0_0_22129760_25386\Main.java:13: 错误: 需要class, interface或enum
struct Node
^
0_0_22129760_25386\Main.java:16: 错误: 需要class, interface或enum
int cap;
^
0_0_22129760_25386\Main.java:17: 错误: 需要class, interface或enum
}edge[MAXM];
^
0_0_22129760_25386\Main.java:18: 错误: 需要class, interface或enum
int tol;
^
0_0_22129760_25386\Main.java:19: 错误: 需要class, interface或enum
int head[MAXN];
^
0_0_22129760_25386\Main.java:20: 错误: 需要class, interface或enum
int dep[MAXN];
^
0_0_22129760_25386\Main.java:21: 错误: 需要class, interface或enum
int gap[MAXN];//gap[x]=y :说明残留网络中dep[i]==x的个数为y
^
0_0_22129760_25386\Main.java:23: 错误: 需要class, interface或enum
int n;//n是总的点的个数,包括源点和汇点
^
0_0_22129760_25386\Main.java:25: 错误: 需要class, interface或enum
void init()
^
0_0_22129760_25386\Main.java:28: 错误: 需要class, interface或enum
memset(head,-1,sizeof(head));
^
0_0_22129760_25386\Main.java:29: 错误: 需要class, interface或enum
}
^
0_0_22129760_25386\Main.java:34: 错误: 需要class, interface或enum
edge[tol].to=v;
^
0_0_22129760_25386\Main.java:35: 错误: 需要class, interface或enum
edge[tol].cap=w;
^
0_0_22129760_25386\Main.java:36: 错误: 需要class, interface或enum
edge[tol].next=head[u];
^
0_0_22129760_25386\Main.java:37: 错误: 需要class, interface或enum
head[u]=tol++;
^
0_0_22129760_25386\Main.java:38: 错误: 需要class, interface或enum
edge[tol].from=v;
^
0_0_22129760_25386\Main.java:39: 错误: 需要class, interface或enum
edge[tol].to=u;
^
0_0_22129760_25386\Main.java:40: 错误: 需要class, interface或enum
edge[tol].cap=0;
^
0_0_22129760_25386\Main.java:41: 错误: 需要class, interface或enum
edge[tol].next=head[v];
^
0_0_22129760_25386\Main.java:42: 错误: 需要class, interface或enum
head[v]=tol++;
^
0_0_22129760_25386\Main.java:43: 错误: 需要class, interface或enum
}
^
0_0_22129760_25386\Main.java:47: 错误: 需要class, interface或enum
memset(gap,0,sizeof(gap));
^
0_0_22129760_25386\Main.java:48: 错误: 需要class, interface或enum
gap[0]=1;
^
0_0_22129760_25386\Main.java:49: 错误: 需要class, interface或enum
int que[MAXN];
^
0_0_22129760_25386\Main.java:50: 错误: 需要class, interface或enum
int front,rear;
^
0_0_22129760_25386\Main.java:51: 错误: 需要class, interface或enum
front=rear=0;
^
0_0_22129760_25386\Main.java:52: 错误: 需要class, interface或enum
dep[end]=0;
^
0_0_22129760_25386\Main.java:53: 错误: 需要class, interface或enum
que[rear++]=end;
^
0_0_22129760_25386\Main.java:54: 错误: 需要class, interface或enum
while(front!=rear)
^
0_0_22129760_25386\Main.java:57: 错误: 需要class, interface或enum
if(front==MAXN)front=0;
^
0_0_22129760_25386\Main.java:58: 错误: 需要class, interface或enum
for(int i=head[u];i!=-1;i=edge[i].next)
^
0_0_22129760_25386\Main.java:58: 错误: 需要class, interface或enum
for(int i=head[u];i!=-1;i=edge[i].next)
^
0_0_22129760_25386\Main.java:58: 错误: 需要class, interface或enum
for(int i=head[u];i!=-1;i=edge[i].next)
^
0_0_22129760_25386\Main.java:61: 错误: 需要class, interface或enum
if(dep[v]!=-1)continue;
^
0_0_22129760_25386\Main.java:62: 错误: 需要class, interface或enum
que[rear++]=v;
^
0_0_22129760_25386\Main.java:63: 错误: 需要class, interface或enum
if(rear==MAXN)rear=0;
^
0_0_22129760_25386\Main.java:64: 错误: 需要class, interface或enum
dep[v]=dep[u]+1;
^
0_0_22129760_25386\Main.java:65: 错误: 需要class, interface或enum
++gap[dep[v]];
^
0_0_22129760_25386\Main.java:66: 错误: 需要class, interface或enum
}
^
0_0_22129760_25386\Main.java:72: 错误: 需要class, interface或enum
BFS(start,end);
^
0_0_22129760_25386\Main.java:73: 错误: 需要class, interface或enum
int cur[MAXN];
^
0_0_22129760_25386\Main.java:74: 错误: 需要class, interface或enum
int S[MAXN];
^
0_0_22129760_25386\Main.java:75: 错误: 需要class, interface或enum
int top=0;
^
0_0_22129760_25386\Main.java:76: 错误: 需要class, interface或enum
memcpy(cur,head,sizeof(head));
^
0_0_22129760_25386\Main.java:77: 错误: 需要class, interface或enum
int u=start;
^
0_0_22129760_25386\Main.java:78: 错误: 需要class, interface或enum
int i;
^
0_0_22129760_25386\Main.java:79: 错误: 需要class, interface或enum
while(dep[start]<n)
^
0_0_22129760_25386\Main.java:84: 错误: 需要class, interface或enum
int inser;
^
0_0_22129760_25386\Main.java:85: 错误: 需要class, interface或enum
for(i=0;i<top;i++)
^
0_0_22129760_25386\Main.java:85: 错误: 需要class, interface或enum
for(i=0;i<top;i++)
^
0_0_22129760_25386\Main.java:85: 错误: 需要class, interface或enum
for(i=0;i<top;i++)
^
0_0_22129760_25386\Main.java:89: 错误: 需要class, interface或enum
inser=i;
^
0_0_22129760_25386\Main.java:90: 错误: 需要class, interface或enum
}
^
0_0_22129760_25386\Main.java:91: 错误: 需要class, interface或enum
for(i=0;i<top;i++)
^
0_0_22129760_25386\Main.java:91: 错误: 需要class, interface或enum
for(i=0;i<top;i++)
^
0_0_22129760_25386\Main.java:94: 错误: 需要class, interface或enum
edge[S[i]^1].cap+=temp;
^
0_0_22129760_25386\Main.java:95: 错误: 需要class, interface或enum
}
^
0_0_22129760_25386\Main.java:97: 错误: 需要class, interface或enum
top=inser;
^
0_0_22129760_25386\Main.java:98: 错误: 需要class, interface或enum
u=edge[S[top]].from;
^
0_0_22129760_25386\Main.java:99: 错误: 需要class, interface或enum
}
^
0_0_22129760_25386\Main.java:102: 错误: 需要class, interface或enum
for(i=cur[u];i!=-1;i=edge[i].next)
^
0_0_22129760_25386\Main.java:102: 错误: 需要class, interface或enum
for(i=cur[u];i!=-1;i=edge[i].next)
^
0_0_22129760_25386\Main.java:102: 错误: 需要class, interface或enum
for(i=cur[u];i!=-1;i=edge[i].next)
^
0_0_22129760_25386\Main.java:105: 错误: 需要class, interface或enum
if(i!=-1)
^
0_0_22129760_25386\Main.java:108: 错误: 需要class, interface或enum
S[top++]=i;
^
0_0_22129760_25386\Main.java:109: 错误: 需要class, interface或enum
u=edge[i].to;
^
0_0_22129760_25386\Main.java:110: 错误: 需要class, interface或enum
}
^
0_0_22129760_25386\Main.java:114: 错误: 需要class, interface或enum
for(i=head[u];i!=-1;i=edge[i].next)
^
0_0_22129760_25386\Main.java:114: 错误: 需要class, interface或enum
for(i=head[u];i!=-1;i=edge[i].next)
^
0_0_22129760_25386\Main.java:114: 错误: 需要class, interface或enum
for(i=head[u];i!=-1;i=edge[i].next)
^
0_0_22129760_25386\Main.java:117: 错误: 需要class, interface或enum
if(min>dep[edge[i].to])
^
0_0_22129760_25386\Main.java:120: 错误: 需要class, interface或enum
cur[u]=i;
^
0_0_22129760_25386\Main.java:121: 错误: 需要class, interface或enum
}
^
0_0_22129760_25386\Main.java:124: 错误: 需要class, interface或enum
dep[u]=min+1;
^
0_0_22129760_25386\Main.java:125: 错误: 需要class, interface或enum
++gap[dep[u]];
^
0_0_22129760_25386\Main.java:126: 错误: 需要class, interface或enum
if(u!=start)u=edge[S[--top]].from;
^
0_0_22129760_25386\Main.java:127: 错误: 需要class, interface或enum
}
^
0_0_22129760_25386\Main.java:130: 错误: 需要class, interface或enum
}
^
0_0_22129760_25386\Main.java:134: 错误: 需要class, interface或enum
scanf("%d",&T);
^
0_0_22129760_25386\Main.java:135: 错误: 需要class, interface或enum
while(T--)
^
0_0_22129760_25386\Main.java:138: 错误: 需要class, interface或enum
scanf("%d%d%d%d",&n,&m,&s,&t);
^
0_0_22129760_25386\Main.java:139: 错误: 需要class, interface或enum
for(int i=0;i<m;i++)
^
0_0_22129760_25386\Main.java:139: 错误: 需要class, interface或enum
for(int i=0;i<m;i++)
^
0_0_22129760_25386\Main.java:139: 错误: 需要class,
|