Problem dijkstra
User MS
Submission Time 2023-08-30 00:16:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

dijkstra.cpp: In function ‘int main()’:
dijkstra.cpp:25:39: error: ‘class std::priority_queue<std::pair<int, int> >’ has no member named ‘front’
25 | pair<int,int> index = tovisit.front();
| ^~~~~