Problem 3nplus1
User rhea61
Submission Time 2023-11-08 14:49:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int32_t main()’:
3nplus1.cpp:14:3: error: ‘cinn’ was not declared in this scope
14 | cinn >> n;
| ^~~~
3nplus1.cpp:15:12: error: unable to find numeric literal operator ‘operator""n’
15 | cout << 3n+1;
| ^~
3nplus1.cpp:19:1: error: expected ‘}’ at end of input
19 | }
| ^
3nplus1.cpp:5:15: note: to match this ‘{’
5 | int32_t main(){
| ^