Problem erp
User boaznumberd5555
Submission Time 2025-08-29 16:54:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

erp.cpp: In function ‘void dijkstra(int, int*)’:
erp.cpp:9:5: error: ‘priority’ was not declared in this scope
9 | priority<pair<int,int>> pq;
| ^~~~~~~~
erp.cpp:9:26: error: expected primary-expression before ‘>’ token
9 | priority<pair<int,int>> pq;
| ^~
erp.cpp:9:29: error: ‘pq’ was not declared in this scope
9 | priority<pair<int,int>> pq;
| ^~
erp.cpp:17:25: error: ‘node’ was not declared in this scope
17 | for(auto i: adj[node]){
| ^~~~