Problem lunchbox
User LYM2025
Submission Time 2025-08-21 14:25:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:13:15: error: ‘l’ was not declared in this scope
13 | for(int j;j<l;j++){
| ^
lunchbox.cpp:14:11: error: ‘i’ was not declared in this scope
14 | sum+=v[i];
| ^