0_0_28254151_31527.cpp:37:11: error: 'MAXN' was not declared in this scope
int Depth[MAXN];
^
0_0_28254151_31527.cpp:38:13: error: 'MAXN' was not declared in this scope
int Current[MAXN];
^
0_0_28254151_31527.cpp: In function 'bool Bfs(int, int)':
0_0_28254151_31527.cpp:49:12: error: 'Depth' was not declared in this scope
memset(Depth, -1, sizeof(Depth));
^
0_0_28254151_31527.cpp: In function 'int Dfs(int, int, int)':
0_0_28254151_31527.cpp:69:19: error: 'Current' was not declared in this scope
for (int &i = Current[Cur]; ~i; i = edges[i].Next) {
^
0_0_28254151_31527.cpp:70:36: error: 'Depth' was not declared in this scope
if (edges[i].Weight > 0 && Depth[edges[i].V] == Depth[Cur] + 1) {
^
0_0_28254151_31527.cpp:80:22: error: 'Depth' was not declared in this scope
if (!UsableFlow) Depth[Cur] = -2;
^
0_0_28254151_31527.cpp: In function 'int Dinic(int, int)':
0_0_28254151_31527.cpp:87:44: error: 'Current' was not declared in this scope
for (int i = Start; i <= End; ++i) Current[i] = Head[i];
^
0_0_28254151_31527.cpp: At global scope:
0_0_28254151_31527.cpp:94:5: error: redefinition of 'int N'
int N, M, K;
^
0_0_28254151_31527.cpp:36:5: note: 'int N' previously declared here
int N, E;
^
|