Problem exam
User clarity
Submission Time 2026-11-10 10:01:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int32_t main()’:
exam.cpp:7:5: error: expected ‘(’ before ‘n’
7 | if n==1:
| ^
| (
exam.cpp:11:5: error: expected ‘(’ before ‘n’
11 | if n==2:
| ^
| (
exam.cpp:16:1: error: expected ‘}’ at end of input
16 | }
| ^
exam.cpp:4:15: note: to match this ‘{’
4 | int32_t main(){
| ^