0_0_24790999_11424.cpp:5:12: error: 'maxn' was not declared in this scope
int vis[2][maxn];
^
0_0_24790999_11424.cpp:14:16: error: 'maxn' was not declared in this scope
vector<int> G[maxn];
^
0_0_24790999_11424.cpp:15:8: error: 'maxn' was not declared in this scope
int a[maxn];
^
0_0_24790999_11424.cpp:16:8: error: 'maxn' was not declared in this scope
int p[maxn];
^
0_0_24790999_11424.cpp: In member function 'void EdmondsKarp::init(int)':
0_0_24790999_11424.cpp:20:4: error: 'G' was not declared in this scope
G[i].clear();
^
0_0_24790999_11424.cpp: In member function 'void EdmondsKarp::AddEdge(int, int, int)':
0_0_24790999_11424.cpp:29:3: error: 'G' was not declared in this scope
G[from].push_back(m - 2);
^
0_0_24790999_11424.cpp: In member function 'int EdmondsKarp::Maxflow(int, int)':
0_0_24790999_11424.cpp:36:11: error: 'a' was not declared in this scope
memset(a, 0, sizeof(a));
^
0_0_24790999_11424.cpp:43:23: error: 'G' was not declared in this scope
for (int i = 0; i<G[x].size(); i++) {
^
0_0_24790999_11424.cpp:46:7: error: 'p' was not declared in this scope
p[e.to] = G[x][i];
^
0_0_24790999_11424.cpp:56:38: error: 'p' was not declared in this scope
for (int u = t; u != s; u = edges[p[u]].from) {
^
0_0_24790999_11424.cpp: In function 'int main()':
0_0_24790999_11424.cpp:68:10: error: 'vis' was not declared in this scope
memset(vis, 0, sizeof(vis));
^
|