Problem exam
User claireau
Submission Time 2026-08-06 19:47:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:2:14: error: expected ‘(’ before ‘long’
2 | # define int long long
| ^~~~
exam.cpp:8:3: note: in expansion of macro ‘int’
8 | int x = 1;
| ^~~
exam.cpp:10:3: error: ‘else’ without a previous ‘if’
10 | else
| ^~~~
exam.cpp:11:31: error: expected ‘;’ before ‘cout’
11 | int A; int B; cin >> A >> B
| ^
| ;
12 | cout << A * B;
| ~~~~