Problem | 3nplus1 |
---|---|
User | sy123 |
Submission Time | 2023-11-16 20:35:30 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
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: At global scope:
3nplus1.cpp:10:2: error: expected unqualified-id before ‘return’
10 | return 0;
| ^~~~~~
3nplus1.cpp:11:3: error: expected declaration before ‘}’ token
11 | }
| ^