0_0_36723917_4593.cpp:7:25: error: 'manx' was not declared in this scope
int capacity[maxn],flow[manx],pre[maxn];
^
0_0_36723917_4593.cpp: In function 'int bfs(int, int)':
0_0_36723917_4593.cpp:15:2: error: 'flow' was not declared in this scope
flow[s]=inf;
^
0_0_36723917_4593.cpp:25:26: error: invalid types 'int[int]' for array subscript
if(i!=s&&capacity[u][i]>0&&pre[i]==-1)
^
0_0_36723917_4593.cpp:28:30: error: invalid types 'int[int]' for array subscript
flow[i]=min(capacity[u][i],flow[u]);
^
0_0_36723917_4593.cpp: In function 'int maxflow(int, int)':
0_0_36723917_4593.cpp:47:20: error: invalid types 'int[int]' for array subscript
capacity[last][k]-=increasement;
^
0_0_36723917_4593.cpp:48:20: error: invalid types 'int[int]' for array subscript
capacity[k][last]+=increasement;
^
0_0_36723917_4593.cpp: In function 'void solve()':
0_0_36723917_4593.cpp:61:10: error: 'flow' was not declared in this scope
memset(flow,0,sizeof(flow));
^
0_0_36723917_4593.cpp:66:17: error: invalid types 'int[int]' for array subscript
capacity[x][y]+=c;
^
|