Problem lunchbox
User Anonymous35V
Submission Time 2023-11-15 13:29:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp: In function ‘int32_t main()’:
lunchbox.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
lunchbox.cpp:6:2: note: in expansion of macro ‘int’
6 | int N,m,A;
| ^~~
lunchbox.cpp:6:6: error: ‘N’ was not declared in this scope
6 | int N,m,A;
| ^
lunchbox.cpp:6:8: error: ‘m’ was not declared in this scope; did you mean ‘tm’?
6 | int N,m,A;
| ^
| tm
lunchbox.cpp:6:10: error: ‘A’ was not declared in this scope
6 | int N,m,A;
| ^
lunchbox.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
lunchbox.cpp:8:2: note: in expansion of macro ‘int’
8 | int sum = 0;
| ^~~
lunchbox.cpp:8:6: error: ‘sum’ was not declared in this scope
8 | int sum = 0;
| ^~