0_0_29918039_18004.cpp: In function 'bool spfa(int, int, int&, double&)':
0_0_29918039_18004.cpp:37:46: error: invalid types 'int[int]' for array subscript
dis[i]=inf;vis[i]=0;pre[i]=-1; flow[i]=0;
^
0_0_29918039_18004.cpp:40:21: error: invalid types 'int[int]' for array subscript
vis[s]=1; flow[s]=MAX;
^
0_0_29918039_18004.cpp:49:33: error: invalid types 'int[int]' for array subscript
pre[v]=i; flow[v]=min(flow[u],e[i].cap);
^
0_0_29918039_18004.cpp:49:45: error: invalid types 'int[int]' for array subscript
pre[v]=i; flow[v]=min(flow[u],e[i].cap);
^
0_0_29918039_18004.cpp:60:17: error: invalid types 'int[int]' for array subscript
int d=flow[t];
^
|