Problem exam
User RaichuAR
Submission Time 2023-12-27 21:53:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int32_t main()’:
exam.cpp:3:13: error: ‘longlong’ was not declared in this scope
3 | #define int longlong
| ^~~~~~~~
exam.cpp:6:2: note: in expansion of macro ‘int’
6 | int x;
| ^~~
exam.cpp:7:6: error: ‘x’ was not declared in this scope
7 | if (x == 1) {
| ^
exam.cpp:11:7: error: expected ‘;’ before ‘a’
11 | int a, b;
| ^
exam.cpp:12:11: error: ‘a’ was not declared in this scope
12 | cout << a*=b
| ^
exam.cpp:12:14: error: ‘b’ was not declared in this scope
12 | cout << a*=b
| ^
exam.cpp:14:1: error: expected ‘}’ at end of input
14 | }
| ^
exam.cpp:5:15: note: to match this ‘{’
5 | int32_t main(){
| ^