Problem | 3nplus1 |
---|---|
User | Teeskit |
Submission Time | 2025-06-29 14:02:36 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:12:11: error: invalid operands of types ‘int’ and ‘const char [2]’ to binary ‘operator<<’
12 | n /= 2 << " ";
| ~ ^~ ~~~
| | |
| int const char [2]
3nplus1.cpp:15:15: error: invalid operands of types ‘long long int’ and ‘const char [2]’ to binary ‘operator<<’
15 | n = n*3 +1 << " ";
| ~~~~~~ ^~ ~~~
| | |
| | const char [2]
| long long int