Problem lunchbox
User Anonymous35V
Submission Time 2023-11-15 14:15:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp: In function ‘int32_t main()’:
lunchbox.cpp:15:30: error: ‘i’ was not declared in this scope
15 | for (int k=0;k<m && sum <=N;i++){
| ^