Problem lunchbox
User fanqie
Submission Time 2023-11-15 13:58:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
lunchbox.cpp:5:1: note: in expansion of macro ‘int’
5 | int arr[m];
| ^~~
lunchbox.cpp:5:5: error: ‘arr’ does not name a type
5 | int arr[m];
| ^~~
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:7:2: note: in expansion of macro ‘int’
7 | int N, m;
| ^~~
lunchbox.cpp:7:6: error: ‘N’ was not declared in this scope
7 | int N, m;
| ^
lunchbox.cpp:7:9: error: ‘m’ was not declared in this scope; did you mean ‘tm’?
7 | int N, m;
| ^
| tm
lunchbox.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;