Problem 3nplus1II
User Biologyhater123
Submission Time 2025-04-03 08:53:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1II.cpp: In function ‘int32_t main()’:
3nplus1II.cpp:11:3: error: expected ‘}’ before ‘else’
11 | else {
| ^~~~
3nplus1II.cpp:8:12: note: to match this ‘{’
8 | if (n < 0){
| ^
3nplus1II.cpp: At global scope:
3nplus1II.cpp:24:1: error: expected declaration before ‘}’ token
24 | }
| ^