Problem exam
User Anonymous35V
Submission Time 2023-11-08 14:07:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int32_t main()’:
exam.cpp:6:5: error: expected ‘(’ before ‘x’
6 | if x = 2,
| ^
| (
exam.cpp:8:9: error: ‘a’ was not declared in this scope
8 | cin >> a*b
| ^
exam.cpp:8:11: error: ‘b’ was not declared in this scope
8 | cin >> a*b
| ^
exam.cpp: At global scope:
exam.cpp:12:1: error: expected unqualified-id before ‘return’
12 | return 0;
| ^~~~~~
exam.cpp:13:1: error: expected declaration before ‘}’ token
13 | }
| ^