Problem exam
User Yannwen09
Submission Time 2023-11-08 09:50:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:6:6: error: ‘x’ was not declared in this scope
6 | if (x = 1) {
| ^
exam.cpp:13:1: error: expected ‘}’ at end of input
13 | }
| ^
exam.cpp:5:1: note: to match this ‘{’
5 | {
| ^