0_0_29953784_24144.cpp: In member function 'int Graph::Dinic()':
0_0_29953784_24144.cpp:92:34: error: 'n' was not declared in this scope
for (int i = 1; i <= n; i++) //每一次建立完分层图后都要把cur置为每一个点的第一条边
^
0_0_29953784_24144.cpp:93:21: error: 'u' was not declared in this scope
cur[u] = head[i];
^
|