Problem dijkstra
User vince
Submission Time 2023-11-15 09:43:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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