Problem lunchbox
User wenhao
Submission Time 2025-06-18 15:23:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:18:10: error: ‘pg’ was not declared in this scope; did you mean ‘pq’?
18 | while (!pg.empty and pq.top() <= N){
| ^~
| pq