Problem lunchbox
User Kanish
Submission Time 2023-11-08 14:07:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp:4:18: error: declaration does not declare anything [-fpermissive]
4 | #define int long long;
| ^~~~
lunchbox.cpp:8:1: note: in expansion of macro ‘int’
8 | int main() {
| ^~~
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:4:18: error: declaration does not declare anything [-fpermissive]
4 | #define int long long;
| ^~~~
lunchbox.cpp:9:5: note: in expansion of macro ‘int’
9 | int N, m;
| ^~~
lunchbox.cpp:9:9: error: ‘N’ was not declared in this scope
9 | int N, m;
| ^
lunchbox.cpp:9:12: error: ‘m’ was not declared in this scope; did you mean ‘tm’?
9 | int N, m;
| ^
| tm
lunchbox.cpp:4:18: error: template argument 1 is invalid
4 | #define int long long;
| ^~~~
lunchbox.cpp:12:12: note: in expansion of macro ‘int’
12 | vec