0_0_29842070_12107.cpp: In function 'void dijkstra()':
0_0_29842070_12107.cpp:94:9: error: 'i' was not declared in this scope
for(i=1; i<=n; i++) vis[i]=0;
^
0_0_29842070_12107.cpp: In function 'bool bfs(ll, ll)':
0_0_29842070_12107.cpp:114:9: error: 'i' was not declared in this scope
for(i=1; i<=n; i++) pre[i]=-1, vis[i]=0;
^
|