0_0_21601239_2890.cpp: In function 'bool Bell_Ford(int)':
0_0_21601239_2890.cpp:3:12: error: 'dis' was not declared in this scope
memset(dis,INF,sizeof(dis));
^
0_0_21601239_2890.cpp:3:16: error: 'INF' was not declared in this scope
memset(dis,INF,sizeof(dis));
^
0_0_21601239_2890.cpp:3:31: error: 'memset' was not declared in this scope
memset(dis,INF,sizeof(dis));
^
0_0_21601239_2890.cpp:6:20: error: 'nodeNum' was not declared in this scope
for(int j=1;j<=nodeNum-1;j++)
^
0_0_21601239_2890.cpp:9:24: error: 'edgeNum' was not declared in this scope
for(int i=1;i<=edgeNum;i++){
^
0_0_21601239_2890.cpp:10:20: error: 'e' was not declared in this scope
if(dis[e[i].from]+e[i].cost<dis[e[i].to]){
^
0_0_21601239_2890.cpp:18:5: error: expected '}' at end of input
}
^
|