Problem exam
User Emily
Submission Time 2023-12-27 21:23:44
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:8:3: note: in expansion of macro ‘int’
8 | int x;
| ^~~
exam.cpp:8:7: error: ‘x’ was not declared in this scope
8 | int x;
| ^
exam.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
exam.cpp:10:3: note: in expansion of macro ‘int’
10 | int a,b;
| ^~~
exam.cpp:10:7: error: ‘a’ was not declared in this scope
10 | int a,b;
| ^
exam.cpp:10:9: error: ‘b’ was not declared in this scope
10 | int a,b;
| ^