Problem firstabc
User Usu
Submission Time 2025-10-31 22:02:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

firstabc.cpp: In function ‘int main()’:
firstabc.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
firstabc.cpp:6:2: note: in expansion of macro ‘int’
6 | int n;
| ^~~
firstabc.cpp:6:6: error: ‘n’ was not declared in this scope
6 | int n;
| ^
firstabc.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
firstabc.cpp:9:2: note: in expansion of macro ‘int’
9 | int a = 0, b = 0, c = 0;
| ^~~
firstabc.cpp:9:6: error: ‘a’ was not declared in this scope
9 | int a = 0, b = 0, c = 0;
| ^
firstabc.cpp:9:13: error: ‘b’ was not declared in this scope
9 | int a = 0, b = 0, c = 0;
| ^
firstabc.cpp:9:20: error: ‘c’ was not declared in this scope
9 | int a = 0, b = 0, c = 0;
|