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

Compile Error

lunchbox.cpp: In function β€˜int main()’:
lunchbox.cpp:32:49: error: lvalue required as left operand of assignment
32 | else if((currentlunchbox-v[p])=v[p+1]){
| ^
lunchbox.cpp: At global scope:
lunchbox.cpp:40:1: error: expected declaration before β€˜}’ token
40 | }
| ^