Problem 3nplus1
User gordonlu
Submission Time 2023-09-04 17:25:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:11:26: error: unable to find numeric literal operator ‘operator""n’
11 | n = n % 2 == 0 ? n/2 : 3n+1;
| ^~