Problem 3nplus1
User sy123
Submission Time 2023-11-16 20:35:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:8:3: error: expected ‘}’ before ‘else’
8 | else
| ^~~~
3nplus1.cpp:6:13: note: to match this ‘{’
6 | if(n%2==0){
| ^
3nplus1.cpp:11:3: error: expected ‘}’ at end of input
11 | }
| ^
3nplus1.cpp:2:11: note: to match this ‘{’
2 | int main(){
| ^