Problem lunchbox
User nzx
Submission Time 2025-08-12 13:40:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:18:9: error: ‘class std::vector<int>’ has no member named ‘top’
18 | n-=vt.top();
| ^~~
lunchbox.cpp:19:6: error: ‘class std::vector<int>’ has no member named ‘pop’
19 | vt.pop();
| ^~~