Problem lunchbox
User aa24codebreaker
Submission Time 2023-11-09 10:43:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp: In function ‘int32_t main()’:
lunchbox.cpp:3:13: error: expected ‘,’ or ‘;’ before ‘long’
3 | #define int long long
| ^~~~
lunchbox.cpp:17:2: note: in expansion of macro ‘int’
17 | int y = 0
| ^~~
lunchbox.cpp:18:28: error: ‘i’ was not declared in this scope
18 | for (int i = 0; x>N; ++i){
| ^
lunchbox.cpp:25:17: error: ‘y’ was not declared in this scope
25 | cout << z - y;
| ^