0_0_25118043_13485.cpp: In function 'bool spfa()':
0_0_25118043_13485.cpp:32:34: error: 'inf' was not declared in this scope
for(int i=0; i<=n; i++){dist[i]=inf; vis[i]=false;}
^
0_0_25118043_13485.cpp: In function 'int dinic()':
0_0_25118043_13485.cpp:96:32: error: 'inf' was not declared in this scope
while((inc=dinic_dfs(source, inf))!=0)
^
0_0_25118043_13485.cpp: In function 'int main()':
0_0_25118043_13485.cpp:110:28: error: 'reture' was not declared in this scope
if(n==1) {printf("0\n"); reture 0;}//特判,不存在最短路径
^
0_0_25118043_13485.cpp:123:18: error: 'inf' was not declared in this scope
if(dist[sink]==inf) {printf("0\n"); return 0;} //特判,不存在最短路径
^
|