Problem 3nplus1II
User angei
Submission Time 2025-08-01 14:54:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1II.cpp: In function ‘int main()’:
3nplus1II.cpp:10:6: error: expected ‘}’ before ‘else’
10 | } else {
| ^~~~
3nplus1II.cpp:7:19: note: to match this ‘{’
7 | if (n % 2 == 0) {
| ^