Problem 3nplus1
User AthanChee03
Submission Time 2023-11-08 11:24:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int get_n(int)’:
3nplus1.cpp:10:20: error: expected ‘;’ before ‘}’ token
10 | return get_n(n/2)
| ^
| ;
11 | }
| ~
3nplus1.cpp:13:16: error: unable to find numeric literal operator ‘operator""n’
13 | return get_n(3n + 1)
| ^~
3nplus1.cpp:13:23: error: expected ‘;’ before ‘}’ token
13 | return get_n(3n + 1)
| ^
| ;
14 | }
| ~