Problem | 3nplus1 |
---|---|
User | BlueSpace |
Submission Time | 2024-04-20 09:49:00 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:14:16: error: expected ‘;’ before ‘cout’
14 | n = n/2
| ^
| ;
15 | cout << n << ' '
| ~~~~
3nplus1.cpp:17:22: error: expected ‘;’ before ‘cout’
17 | n = 3 * n + 1
| ^
| ;
18 | cout << n << ' '
| ~~~~