Problem dijkstra
User Jiayue
Submission Time 2023-11-16 13:56:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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