Problem dijkstra
User penguin
Submission Time 2023-11-16 15:00:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

dijkstra.cpp: In function ‘int32_t main()’:
dijkstra.cpp:33:5: error: ‘else’ without a previous ‘if’
33 | else cout << dist[v-1] << "\n";
| ^~~~