Problem lunchbox
User axo
Submission Time 2026-05-14 10:06:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:14:23: error: expected ‘;’ before ‘for’
14 | }sort(arr, arr + m)
| ^
| ;
15 | for (int i = 0; i < m; i++){
| ~~~
lunchbox.cpp:15:20: error: ‘i’ was not declared in this scope
15 | for (int i = 0; i < m; i++){
| ^