Problem | car |
---|---|
User | weccs |
Submission Time | 2025-08-01 21:38:08 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
car.cpp: In function ‘int main()’:
car.cpp:32:5: error: ‘priority_queue’ was not declared in this scope
32 | priority_queue<pair<int,pair<int,int>>, vector<pair<int,pair<int,int>>>, greater<pair<int,pair<int,int>>>> pq;
| ^~~~~~~~~~~~~~
car.cpp:3:1: note: ‘std::priority_queue’ is defined in header ‘<queue>’; did you forget to ‘#include <queue>’?
2 | #include <iostream>
+++ |+#include <queue>
3 |
car.cpp:32:43: error: expected primary-expression before ‘,’ token
32 | priority_queue<pair<int,pair<int,int>>, vector<pair<int,pair<int,int>>>, greater<pair<int,pair<int,int>>>> pq;
| ^
car.cpp:32:76: error: expected primary-expression before ‘,’ token
32 | priority_queue<pair<int,pair<int,int>>, vector<pair<int,pair<