Problem dijkstra
User Henries
Submission Time 2024-12-01 23:01:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

dijkstra.cpp: In function ‘long long int dijkstra()’:
dijkstra.cpp:30:23: error: invalid types ‘<unresolved overloaded function type>[long long int]’ for array subscript
30 | cout << distance[v-1];
| ^