Problem lunchbox
User PDPrenesh
Submission Time 2026-06-23 16:59:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:32:22: error: ‘currentlunch’ was not declared in this scope; did you mean ‘currentlunchbox’?
32 | else if((currentlunch-v[p])=v[p+1]){
| ^~~~~~~~~~~~
| currentlunchbox
lunchbox.cpp: At global scope:
lunchbox.cpp:40:1: error: expected declaration before ‘}’ token
40 | }
| ^