0_0_24992864_23742.cpp: In function 'void dijkstra(int, int)': 0_0_24992864_23742.cpp:16:10: error: 'i' was not declared in this scope dist[i] = 0; ^