Problem lunchbox
User astrohiro
Submission Time 2024-02-22 02:59:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:5:10: error: expected unqualified-id before ‘;’ token
5 | int lb, ;
| ^
lunchbox.cpp:6:15: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
6 | cin >> lb >> n ;
| ^
| yn
lunchbox.cpp:16:1: error: expected ‘}’ at end of input
16 | }
| ^
lunchbox.cpp:4:11: note: to match this ‘{’
4 | int main(){
| ^