Problem lunchbox
User Mashulyong
Submission Time 2023-03-23 21:42:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp:5:13: error: expected initializer before ‘>>’ token
5 | long long x >> cin x ;
| ^~
lunchbox.cpp:6:13: error: expected initializer before ‘>>’ token
6 | long long y >> cin y;
| ^~
lunchbox.cpp:7:1: error: expected unqualified-id before ‘for’
7 | for (int i = 0; i < y; i++){
| ^~~
lunchbox.cpp:7:17: error: ‘i’ does not name a type
7 | for (int i = 0; i < y; i++){
| ^
lunchbox.cpp:7:24: error: ‘i’ does not name a type
7 | for (int i = 0; i < y; i++){
| ^
lunchbox.cpp:14:1: error: expected declaration before ‘}’ token
14 | }
| ^