Problem 3nplus1
User blob
Submission Time 2023-11-10 10:59:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:10:11: error: unable to find numeric literal operator ‘operator""n’
10 | int n= 3n+1;
| ^~
3nplus1.cpp:11:12: error: expected ‘;’ before ‘cout’
11 | cin >> n
| ^
| ;
12 | cout << n
| ~~~~
3nplus1.cpp:16:12: error: expected ‘;’ before ‘cout’
16 | cin >> n
| ^
| ;
17 | cout << n;
| ~~~~