Problem lunchbox
User dong
Submission Time 2026-06-23 15:10:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:11:9: error: ‘class std::vector<int>’ has no member named ‘bein’; did you mean ‘begin’?
11 | sort(k.bein(), k.end());
| ^~~~
| begin
lunchbox.cpp: At global scope:
lunchbox.cpp:24:1: error: ‘cout’ does not name a type
24 | cout << served << "\n"{
| ^~~~