0_0_22384392_31463.cpp: In function 'bool dinic_bfs()':
0_0_22384392_31463.cpp:41:19: error: 'dinic_head' was not declared in this scope
for(int i=dinic_head[now];i!=-1;i=g[i].next)
^
0_0_22384392_31463.cpp:41:48: error: 'class std::vector<node>' has no member named 'next'
for(int i=dinic_head[now];i!=-1;i=g[i].next)
^
0_0_22384392_31463.cpp:42:21: error: 'class std::vector<node>' has no member named 'src'
if(g[i].src>0 && dinic_deep[g[i].to]==-1){
^
0_0_22384392_31463.cpp:42:46: error: 'class std::vector<node>' has no member named 'to'
if(g[i].src>0 && dinic_deep[g[i].to]==-1){
^
0_0_22384392_31463.cpp:43:33: error: 'class std::vector<node>' has no member named 'to'
dinic_deep[g[i].to]=dinic_deep[now]+1;
^
0_0_22384392_31463.cpp:44:17: error: expected '}' before 'else'
else q.push(g[i].to);
^
0_0_22384392_31463.cpp:44:34: error: 'class std::vector<node>' has no member named 'to'
else q.push(g[i].to);
^
0_0_22384392_31463.cpp: At global scope:
0_0_22384392_31463.cpp:47:5: error: expected unqualified-id before 'return'
return false;
^
0_0_22384392_31463.cpp:48:1: error: expected declaration before '}' token
}
^
|