0_0_20834278_11849.cpp: In member function 'void your::init()':
0_0_20834278_11849.cpp:14:34: error: 'memset' was not declared in this scope
memset(head,0,sizeof head);
^
0_0_20834278_11849.cpp: In member function 'void your::spfa(int)':
0_0_20834278_11849.cpp:19:32: error: 'memset' was not declared in this scope
memset(vis,0,sizeof vis);
^
0_0_20834278_11849.cpp:21:9: error: 'queue' was not declared in this scope
queue<int>q;
^
0_0_20834278_11849.cpp:21:15: error: expected primary-expression before 'int'
queue<int>q;
^
0_0_20834278_11849.cpp:22:27: error: 'q' was not declared in this scope
vis[x]=1,dis[x]=0,q.push(x);
^
0_0_20834278_11849.cpp: In member function 'void my::init()':
0_0_20834278_11849.cpp:44:34: error: 'memset' was not declared in this scope
memset(head,0,sizeof head);
^
0_0_20834278_11849.cpp: In member function 'int my::bfs()':
0_0_20834278_11849.cpp:54:9: error: 'queue' was not declared in this scope
queue<int>q;
^
0_0_20834278_11849.cpp:54:15: error: expected primary-expression before 'int'
queue<int>q;
^
0_0_20834278_11849.cpp:55:32: error: 'memset' was not declared in this scope
memset(dis,0,sizeof dis);
^
0_0_20834278_11849.cpp:56:9: error: 'q' was not declared in this scope
q.push(S);
^
0_0_20834278_11849.cpp: In member function 'int my::dinic(int, int)':
0_0_20834278_11849.cpp:79:48: error: 'min' was not declared in this scope
tmp=dinic(to[i],min(val[i],temp));
^
0_0_20834278_11849.cpp: In function 'void maxflow()':
0_0_20834278_11849.cpp:94:15: error: 'n' was not declared in this scope
b.S=1,b.T=n;
^
0_0_20834278_11849.cpp:96:22: error: 'printf' was not declared in this scope
printf("%d\n",ans);
^
0_0_20834278_11849.cpp: In function 'void work()':
0_0_20834278_11849.cpp:104:17: error: 'n' was not declared in this scope
scanf("%d",&n);
^
0_0_20834278_11849.cpp:104:18: error: 'scanf' was not declared in this scope
scanf("%d",&n);
^
0_0_20834278_11849.cpp:119:35: error: 'swap' was not declared in this scope
swap(way[i].x,way[i].y);
^
0_0_20834278_11849.cpp: In function 'int main()':
0_0_20834278_11849.cpp:130:18: error: 'scanf' was not declared in this scope
scanf("%d",&T);
^
|