Problem famishedcats
User feynmantree
Submission Time 2026-07-15 05:18:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

famishedcats.cpp: In function ‘int main()’:
famishedcats.cpp:34:5: error: ‘priority_queue’ was not declared in this scope
34 | priority_queue<pair<ll,ll>> pq;
| ^~~~~~~~~~~~~~
famishedcats.cpp:4:1: note: ‘std::priority_queue’ is defined in header ‘<queue>’; did you forget to ‘#include <queue>’?
3 | #include <algorithm>
+++ |+#include <queue>
4 | using namespace std;
famishedcats.cpp:34:30: error: expected primary-expression before ‘>’ token
34 | priority_queue<pair<ll,ll>> pq;
| ^~
famishedcats.cpp:34:33: error: ‘pq’ was not declared in this scope
34 | priority_queue<pair<ll,ll>> pq;
| ^~