Problem 3nplus1
User 583116UB
Submission Time 2024-04-13 11:44:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:7:7: error: unable to find numeric literal operator ‘operator""n’
7 | n = 3n+1};
| ^~
3nplus1.cpp:9:10: error: expected ‘;’ before ‘}’ token
9 | n = n/2};
| ^
| ;
3nplus1.cpp:11:11: error: expected ‘;’ before ‘return’
11 | cout<<n
| ^
| ;
12 |
13 | return 0;
| ~~~~~~