Problem lunchbox
User PyAce
Submission Time 2025-06-21 18:35:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:12:50: error: template argument 2 is invalid
12 | priority_queue <int, vector <int,greater <int>> mq;
| ^~
lunchbox.cpp:12:50: error: template argument 3 is invalid
lunchbox.cpp:18:3: error: ‘mq’ was not declared in this scope
18 | mq.push(cinp);
| ^~
lunchbox.cpp:22:7: error: ‘mq’ was not declared in this scope
22 | c = mq.top();
| ^~