Problem lunchbox
User vadar2525
Submission Time 2025-07-08 16:03:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:11:9: error: expected ‘;’ before ‘for’
11 | m += 1
| ^
| ;
12 | for(int j = 0; j < i; j++){
| ~~~
lunchbox.cpp:12:18: error: ‘j’ was not declared in this scope
12 | for(int j = 0; j < i; j++){
| ^
lunchbox.cpp:18:2: error: expected ‘}’ at end of input
18 | }
| ^
lunchbox.cpp:5:15: note: to match this ‘{’
5 | signed main() {
| ^