0_0_25091167_1723.cpp:16:9: error: 'll' does not name a type
ll cap, flow;
^
0_0_25091167_1723.cpp:18:28: error: 'll' has not been declared
edge(int u, int v, ll cap): u(u), v(v), cap(cap), flow(0) {}
^
0_0_25091167_1723.cpp:32:33: error: 'll' has not been declared
void add_edge(int u, int v, ll cap) {
^
0_0_25091167_1723.cpp:61:5: error: 'll' does not name a type
ll DFS(int u, int T, ll flow = -1) {
^
0_0_25091167_1723.cpp:79:5: error: 'll' does not name a type
ll maxflow(int S, int T) {
^
0_0_25091167_1723.cpp: In constructor 'Dinic::edge::edge(int, int, int)':
0_0_25091167_1723.cpp:18:49: error: class 'Dinic::edge' does not have any field named 'cap'
edge(int u, int v, ll cap): u(u), v(v), cap(cap), flow(0) {}
^
0_0_25091167_1723.cpp:18:59: error: class 'Dinic::edge' does not have any field named 'flow'
edge(int u, int v, ll cap): u(u), v(v), cap(cap), flow(0) {}
^
0_0_25091167_1723.cpp: In member function 'bool Dinic::BFS(int, int)':
0_0_25091167_1723.cpp:52:23: error: 'struct Dinic::edge' has no member named 'flow'
if (e.flow < e.cap && d[e.v] > d[e.u] + 1) {
^
0_0_25091167_1723.cpp:52:32: error: 'struct Dinic::edge' has no member named 'cap'
if (e.flow < e.cap && d[e.v] > d[e.u] + 1) {
^
0_0_25091167_1723.cpp: In function 'int main()':
0_0_25091167_1723.cpp:122:24: error: 'struct Dinic' has no member named 'maxflow'
tot -= netflow.maxflow(src, dst);
^
|