Problem area
User Lucas
Submission Time 2024-12-04 09:51:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

area.cpp: In function ‘int main()’:
area.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
area.cpp:9:3: note: in expansion of macro ‘int’
9 | int n;
| ^~~
area.cpp:9:7: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
9 | int n;
| ^
| yn
area.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
area.cpp:11:3: note: in expansion of macro ‘int’
11 | int ans = 0;
| ^~~
area.cpp:11:7: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
11 | int ans = 0;
| ^~~
| abs
area.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
area.cpp:13:7: note: in expansion of macro ‘int’