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

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:4:6: error: ‘x’ was not declared in this scope
4 | if (x = 1){
| ^
exam.cpp:7:6: error: ‘x’ was not declared in this scope
7 | if (x = 2){
| ^