Problem exam
User Apollo199999999
Submission Time 2024-11-07 10:13:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int32_t main()’:
exam.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
exam.cpp:6:5: note: in expansion of macro ‘int’
6 | int x;
| ^~~
exam.cpp:6:9: error: ‘x’ was not declared in this scope
6 | int x;
| ^
exam.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
exam.cpp:12:9: note: in expansion of macro ‘int’
12 | int a, b;
| ^~~
exam.cpp:12:13: error: ‘a’ was not declared in this scope
12 | int a, b;
| ^
exam.cpp:12:16: error: ‘b’ was not declared in this scope
12 | int a, b;
| ^