Problem dijkstra
User Yannwen09
Submission Time 2023-11-10 15:15:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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