Problem lunchbox
User boaznumberd5555
Submission Time 2023-03-03 13:49:39
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; cin >> n;
| ^~~
lunchbox.cpp:6:6: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
6 | int n; cin >> n;
| ^
| yn
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 m; cin >> m;
| ^~~
lunchbox.cpp:7:6: error: ‘m’ was not declared in this scope; did you mean ‘tm’?
7 | int m; cin >> m;
| ^
| tm
lunchbox.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
|