Problem exam
User Rigiddivot251112
Submission Time 2026-06-22 15:41:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:5:3: error: expected ‘,’ or ‘;’ before ‘if’
5 | if (x == 1);
| ^~
exam.cpp:7:4: error: ‘else’ without a previous ‘if’
7 | else;
| ^~~~