0_0_33387211_15299.cpp: In function 'void bfs(int, int)':
0_0_33387211_15299.cpp:44:21: error: 'cnt' was not declared in this scope
edge[++index].x=cnt,edge[index].y=i,edge[index].w=tmp.w;
^
0_0_33387211_15299.cpp: In function 'int main()':
0_0_33387211_15299.cpp:116:4: error: 'cnt' was not declared in this scope
cnt=i;
^
|