Problem lunchbox
User fanqie
Submission Time 2023-11-15 13:52:04
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;
| ^~~
lunchbox.cpp:6:6: error: ‘N’ was not declared in this scope
6 | int N, m;
| ^
lunchbox.cpp:6:9: error: ‘m’ was not declared in this scope; did you mean ‘tm’?
6 | int N, m;
| ^
| tm
lunchbox.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
lunchbox.cpp:7:2: note: in expansion of macro ‘int’
7 | int A[m];
| ^~~
lunchbox.cpp:7:6: error: ‘A’ was not declared in this scope
7 | int A[m];
| ^
lunchbox.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;