Problem | 3nplus1 |
---|---|
User | LOL7651 |
Submission Time | 2024-04-05 14:12:48 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
3nplus1.cpp: In function ‘int32_t main()’:
3nplus1.cpp:9:10: error: ‘i’ was not declared in this scope
9 | for (i =1; n>i; i+0){
| ^
3nplus1.cpp:10:17: error: lvalue required as left operand of assignment
10 | if (n%2=1){
| ^
3nplus1.cpp:11:15: error: unable to find numeric literal operator ‘operator""n’
11 | n=3n+1;
| ^~