Problem 3nplus1
User adammmamammamamamaamamam
Submission Time 2023-04-15 23:03:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:4:8: error: expected initializer before ‘<=’ token
4 | int n <= 10000;
| ^~
3nplus1.cpp:5:9: error: ‘n’ was not declared in this scope
5 | cin >> n;
| ^
3nplus1.cpp:11:12: error: unable to find numeric literal operator ‘operator""n’
11 | cout << 3n+1;
| ^~