Problem exam
User Jiayue
Submission Time 2023-11-10 10:20:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:5:2: error: expected initializer before ‘if’
5 | if (x = 1){
| ^~
exam.cpp:9:2: error: expected initializer before ‘if’
9 | if (x = 2){
| ^~