Problem exam
User Codebreaker
Submission Time 2026-11-15 13:21:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:8:2: error: expected ‘}’ before ‘else’
8 | else {
| ^~~~
exam.cpp:6:14: note: to match this ‘{’
6 | if (x == 1) {
| ^
exam.cpp:12:2: error: expected ‘}’ at end of input
12 | }
| ^
exam.cpp:3:12: note: to match this ‘{’
3 | int main() {
| ^