Problem dijkstra
User jamestan
Submission Time 2024-04-27 22:47:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

dijkstra.cpp: In function ‘int main()’:
dijkstra.cpp:29:7: error: ‘dist’ was not declared in this scope
29 | if (dist[u] < pq.top().first) continue;
| ^~~~