Problem 3nplus1
User TheBlueCharizard
Submission Time 2023-06-01 11:50:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:5:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
5 | cin >> n
| ^
| yn
3nplus1.cpp:9:2: error: ‘else’ without a previous ‘if’
9 | else{
| ^~~~
3nplus1.cpp:10:11: error: unable to find numeric literal operator ‘operator""n’
10 | cout << 3n+1)
| ^~