Problem 3nplus1
User pinglynn
Submission Time 2023-11-09 13:51:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int32_t main()’:
3nplus1.cpp:16:13: error: expected ‘(’ before ‘{’ token
16 | else if {n % 2 == 1){
| ^
| (
3nplus1.cpp:21:1: error: expected ‘}’ at end of input
21 | }
| ^
3nplus1.cpp:6:16: note: to match this ‘{’
6 | int32_t main() {
| ^