Problem | whalemewing |
---|---|
User | gsayson |
Submission Time | 2025-05-14 14:46:43 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
whalemewing.cpp: In function ‘int main()’:
whalemewing.cpp:20:5: error: ‘priority_queue’ was not declared in this scope
20 | priority_queue<tuple<int,int,string>> pq;
| ^~~~~~~~~~~~~~
whalemewing.cpp:5:1: note: ‘std::priority_queue’ is defined in header ‘<queue>’; did you forget to ‘#include <queue>’?
4 | #include <algorithm>
+++ |+#include <queue>
5 | using namespace std;
whalemewing.cpp:20:40: error: expected primary-expression before ‘>’ token
20 | priority_queue<tuple<int,int,string>> pq;
| ^~
whalemewing.cpp:20:43: error: ‘pq’ was not declared in this scope
20 | priority_queue<tuple<int,int,string>> pq;
| ^~