Problem 3nplus1
User lynovyl
Submission Time 2024-07-08 15:14:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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