Problem exam
User Secretivepeep
Submission Time 2025-11-19 18:55:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:6:5: error: expected initializer before ‘cin’
6 | cin >> x;
| ^~~
exam.cpp:7:9: error: ‘x’ was not declared in this scope
7 | if (x == 1) {
| ^