Problem lunchbox
User ZiErn
Submission Time 2023-11-09 10:18:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:17:21: error: expected ‘)’ before ‘;’ token
17 | while (int k = 0; k < m && sum <= N; k++){
| ~ ^
| )
lunchbox.cpp:17:23: error: ‘k’ was not declared in this scope
17 | while (int k = 0; k < m && sum <= N; k++){
| ^