0_0_37893506_1381.cpp: In function 'bool spfa()':
0_0_37893506_1381.cpp:5:5: error: 'queue' was not declared in this scope
queue<int> Q;
^
0_0_37893506_1381.cpp:5:5: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:85,
from 0_0_37893506_1381.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:96:11: note: 'std::queue'
class queue
^
0_0_37893506_1381.cpp:5:11: error: expected primary-expression before 'int'
queue<int> Q;
^
0_0_37893506_1381.cpp:6:12: error: 'dis' was not declared in this scope
memset(dis, 0x3f, sizeof (dis));
^
0_0_37893506_1381.cpp:7:12: error: 'inq' was not declared in this scope
memset(inq, 0, sizeof (inq));
^
0_0_37893506_1381.cpp:8:5: error: 'Q' was not declared in this scope
Q.push(s);
^
0_0_37893506_1381.cpp:8:12: error: 's' was not declared in this scope
Q.push(s);
^
0_0_37893506_1381.cpp:11:5: error: 'incf' was not declared in this scope
incf[s] = 1 << 30;
^
0_0_37893506_1381.cpp: In function 'void MCMF()':
0_0_37893506_1381.cpp:21:17: error: 't' was not declared in this scope
int x = t;
^
0_0_37893506_1381.cpp:22:9: error: 'maxflow' was not declared in this scope
maxflow += incf[t];
^
0_0_37893506_1381.cpp:22:20: error: 'incf' was not declared in this scope
maxflow += incf[t];
^
0_0_37893506_1381.cpp:23:9: error: 'mincost' was not declared in this scope
mincost += dis[t] * incf[t];
^
0_0_37893506_1381.cpp:23:20: error: 'dis' was not declared in this scope
mincost += dis[t] * incf[t];
^
0_0_37893506_1381.cpp:25:21: error: 's' was not declared in this scope
while (x != s) {
^
0_0_37893506_1381.cpp:26:17: error: 'pre' was not declared in this scope
i = pre[x];
^
0_0_37893506_1381.cpp:27:13: error: 'e' was not declared in this scope
e[i].d -= incf[t];
^
0_0_37893506_1381.cpp: In function 'void solve()':
0_0_37893506_1381.cpp:44:13: error: 's' was not declared in this scope
add(s, i, a, 0);
^
0_0_37893506_1381.cpp:44:23: error: 'add' was not declared in this scope
add(s, i, a, 0);
^
0_0_37893506_1381.cpp:45:16: error: 't' was not declared in this scope
add(i, t, b, 0);
^
0_0_37893506_1381.cpp:52:27: error: 'add' was not declared in this scope
add(u, v, 1, 0);
^
0_0_37893506_1381.cpp:55:41: error: 'add' was not declared in this scope
add(u, v, c - 1, -log(1 - p));
^
0_0_37893506_1381.cpp:59:5: error: 'cout' was not declared in this scope
cout <<
^
0_0_37893506_1381.cpp:59:5: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:74:0,
from 0_0_37893506_1381.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:61:18: note: 'std::cout'
extern ostream cout; /// Linked to standard output
^
0_0_37893506_1381.cpp:60:1: error: expected primary-expression before '}' token
}
^
|