Problem dijkstra
User Kiameimon
Submission Time 2024-03-01 11:12:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

dijkstra.cpp: In function ‘int main()’:
dijkstra.cpp:18:17: error: ‘pll’ was not declared in this scope
18 | priority_queue<pll,vector<pll>,greater<pll>> pq;
| ^~~
dijkstra.cpp:18:31: error: template argument 2 is invalid
18 | priority_queue<pll,vector<pll>,greater<pll>> pq;
| ^
dijkstra.cpp:18:44: error: template argument 1 is invalid
18 | priority_queue<pll,vector<pll>,greater<pll>> pq;
| ^~
dijkstra.cpp:18:44: error: template argument 2 is invalid
dijkstra.cpp:18:44: error: template argument 3 is invalid
dijkstra.cpp:19:2: error: ‘ll’ was not declared in this scope
19 | ll dist[n+1]; fill(dist, dist+n, 1e18+1);
| ^~
dijkstra.cpp:19:21: error: ‘dist’ was not declared in this scope
19 | ll dist[n+1]; fill(dist, dist+n, 1e18+1);
|