Problem dijkstra
User asbx
Submission Time 2023-11-15 09:34:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

dijkstra.cpp: In function ‘int main()’:
dijkstra.cpp:10:22: error: ‘source’ was not declared in this scope
10 | pq.push(make_pair(0, source)); dist[source] = 0;
| ^~~~~~