Problem 3nplus1
User ansellee
Submission Time 2023-12-20 15:32:43
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:18:8: error: unable to find numeric literal operator ‘operator""n’
18 | n = 3n+1;
| ^~
3nplus1.cpp:22:11: error: expected ‘}’ at end of input
22 | cout << 1;
| ^
3nplus1.cpp:9:12: note: to match this ‘{’
9 | int main() {
| ^