Problem 3nplus1
User JoonLoong
Submission Time 2026-06-22 16:22:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:9:7: error: ‘else’ without a previous ‘if’
9 | else if (n % 2 == 0) {
| ^~~~