0_0_18112114_16491.cpp: In function 'bool spfa(int, int)':
0_0_18112114_16491.cpp:38:5: error: 'queue' was not declared in this scope
queue<int> q;
^
0_0_18112114_16491.cpp:38:11: error: expected primary-expression before 'int'
queue<int> q;
^
0_0_18112114_16491.cpp:46:5: error: 'q' was not declared in this scope
q.push(s);
^
0_0_18112114_16491.cpp:50:32: error: expected initializer before '!=' token
for(int i = head[u], i != -1; i = edge[i].nxt){
^
0_0_18112114_16491.cpp:50:32: error: expected ';' before '!=' token
0_0_18112114_16491.cpp:50:32: error: expected primary-expression before '!=' token
0_0_18112114_16491.cpp: In function 'int minCostMaxFlow(int, int, int&)':
0_0_18112114_16491.cpp:71:58: error: expected ']' before ')' token
for(int i = pre[t]; i != -1; i = pre[edge[i^1].to){
^
0_0_18112114_16491.cpp:75:58: error: expected ']' before ')' token
for(int i = pre[t]; i != -1; i = pre[edge[i^1].to){
^
0_0_18112114_16491.cpp:83:1: error: expected ';' before '}' token
}
^
|