Problem lunchbox
User AwkUngenially
Submission Time 2025-04-01 16:27:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:8:7: error: ‘i’ was not declared in this scope
8 | for (i = 0; i < x; i++) {
| ^
lunchbox.cpp:15:9: error: ‘j’ was not declared in this scope
15 | while (j = 0; y > 0; j++) {
| ^
lunchbox.cpp:15:14: error: expected ‘)’ before ‘;’ token
15 | while (j = 0; y > 0; j++) {
| ~ ^
| )
lunchbox.cpp:15:23: error: ‘j’ was not declared in this scope
15 | while (j = 0; y > 0; j++) {
| ^