Problem lunchbox
User ethantanaki
Submission Time 2026-03-07 10:41:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:13:5: error: ‘class std::deque<int, std::allocator<int> >’ has no member named ‘sort’
13 | pq.sort();
| ^~~~
lunchbox.cpp:17:16: error: ‘class std::deque<int, std::allocator<int> >’ has no member named ‘top’
17 | while(N >= pq.top()) {
| ^~~