Problem | dijkstra |
---|---|
User | UNowen |
Submission Time | 2025-03-01 11:34:39 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
dijkstra.cpp:7:74: error: template argument 2 is invalid
7 | priority_queue<pair<int,int>,vector<pair<int,int>,greater<pair<int,int>>>pq;
| ^~
dijkstra.cpp:7:74: error: template argument 3 is invalid
dijkstra.cpp: In function ‘int32_t main()’:
dijkstra.cpp:18:2: error: ‘pq’ was not declared in this scope
18 | pq.push({0,1});
| ^~