0_0_29815355_28870.cpp: In function 'bool Bfs()':
0_0_29815355_28870.cpp:19:9: error: 'dep' was not declared in this scope
memset(dep,0,sizeof(dep));
^
0_0_29815355_28870.cpp:20:2: error: 'q' was not declared in this scope
q.push(S);
^
0_0_29815355_28870.cpp:20:9: error: 'S' was not declared in this scope
q.push(S);
^
0_0_29815355_28870.cpp:26:13: error: 'fst' was not declared in this scope
for(int i=fst[u];i;i=nxt[i])
^
0_0_29815355_28870.cpp:26:24: error: 'nxt' was not declared in this scope
for(int i=fst[u];i;i=nxt[i])
^
0_0_29815355_28870.cpp:28:10: error: 'to' was not declared in this scope
int v=to[i];
^
0_0_29815355_28870.cpp:29:18: error: 'w' was not declared in this scope
if(!dep[v] && w[i])
^
0_0_29815355_28870.cpp:36:13: error: 'T' was not declared in this scope
return dep[T];
^
0_0_29815355_28870.cpp: In function 'int Dfs(int, int)':
0_0_29815355_28870.cpp:40:8: error: 'T' was not declared in this scope
if(u==T || !flow) return flow;
^
0_0_29815355_28870.cpp:42:12: error: 'cur' was not declared in this scope
for(int i=cur[u];i;i=nxt[i])
^
0_0_29815355_28870.cpp:42:23: error: 'nxt' was not declared in this scope
for(int i=cur[u];i;i=nxt[i])
^
0_0_29815355_28870.cpp:45:9: error: 'to' was not declared in this scope
int v=to[i];
^
0_0_29815355_28870.cpp:46:6: error: 'dep' was not declared in this scope
if(dep[v]==dep[u]+1 && w[i])
^
0_0_29815355_28870.cpp:46:26: error: 'w' was not declared in this scope
if(dep[v]==dep[u]+1 && w[i])
^
0_0_29815355_28870.cpp: In function 'int Dinic()':
0_0_29815355_28870.cpp:66:10: error: 'cur' was not declared in this scope
memcpy(cur,fst,sizeof(fst));//每次重置cur数组
^
0_0_29815355_28870.cpp:66:14: error: 'fst' was not declared in this scope
memcpy(cur,fst,sizeof(fst));//每次重置cur数组
^
0_0_29815355_28870.cpp:67:12: error: 'S' was not declared in this scope
sum+=Dfs(S,inf);
^
0_0_29815355_28870.cpp:67:14: error: 'inf' was not declared in this scope
sum+=Dfs(S,inf);
^
0_0_29815355_28870.cpp: In function 'int main()':
0_0_29815355_28870.cpp:126:33: error: 'get_path' was not declared in this scope
int add=get_path(1,n);
^
0_0_29815355_28870.cpp:128:25: error: 'updata' was not declared in this scope
updata(n,add);
^
|