Problem | 3nplus1II |
---|---|
User | CalebKow |
Submission Time | 2025-07-01 17:14:31 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
3nplus1II.cpp: In function ‘int main()’:
3nplus1II.cpp:14:6: error: expected ‘(’ before ‘n’
14 | if n == 1 {
| ^
| (
3nplus1II.cpp:17:3: error: ‘else’ without a previous ‘if’
17 | else if (n%2==0){
| ^~~~