Problem exam
User Dan64091
Submission Time 2025-03-09 21:42:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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