Problem exam
User StarSparrowFox
Submission Time 2025-07-29 16:13:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:6:5: error: expected ‘(’ before ‘int’
6 | if int x == 1{
| ^~~
| (
exam.cpp:8:3: error: ‘else’ without a previous ‘if’
8 | }else cout << A*B;
| ^~~~