Problem | 3nplus1 |
---|---|
User | Ningja |
Submission Time | 2023-11-08 11:37:26 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:9:11: error: expected ‘;’ before ‘}’ token
9 | n = n/2
| ^
| ;
10 | } else {
| ~
3nplus1.cpp:11:13: error: expected ‘;’ before ‘}’ token
11 | n = 3*n+1
| ^
| ;
12 | }
| ~