Problem lunchbox
User jerriel
Submission Time 2025-04-23 16:08:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:6:11: error: ‘m’ was not declared in this scope
6 | ll n; m;
| ^
lunchbox.cpp:13:5: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
13 | ans=0;
| ^~~
| abs
lunchbox.cpp:15:14: error: ‘a’ was not declared in this scope
15 | ans+=a[1];
| ^