Problem | dijkstra |
---|---|
User | penguin |
Submission Time | 2023-11-16 14:56:33 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
dijkstra.cpp: In function ‘int main()’:
dijkstra.cpp:16:86: error: template argument 3 is invalid
16 | priority_queue<pair<int, int>, vector<pair<int, int> >, greater<pair<int, int> > pq; //{dist, node}
| ^~
dijkstra.cpp:19:5: error: ‘pq’ was not declared in this scope
19 | pq.push({0,1});
| ^~