Problem simcity
User itsLQ
Submission Time 2023-12-18 22:43:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

simcity.cpp:5:18: error: declaration does not declare anything [-fpermissive]
5 | #define int long long;
| ^~~~
simcity.cpp:7:7: note: in expansion of macro ‘int’
7 | const int MAX = 300005;
| ^~~
simcity.cpp:7:11: error: ‘MAX’ does not name a type
7 | const int MAX = 300005;
| ^~~
simcity.cpp:5:18: error: declaration does not declare anything [-fpermissive]
5 | #define int long long;
| ^~~~
simcity.cpp:8:1: note: in expansion of macro ‘int’
8 | int l[MAX], r[MAX], D[MAX];
| ^~~
simcity.cpp:8:5: error: ‘l’ does not name a type
8 | int l[MAX], r[MAX], D[MAX];
| ^
simcity.cpp:5:18: error: declaration does not declare anything [-fpermissive]
5 | #define int long long;
| ^~~~
simcity.cpp:9:1: note: in expansion of macro ‘int’
9 | int memo[MAX][2];
| ^~~
simcity.cpp:9:5: