Problem 3nplus1
User adammmamammamamamaamamam
Submission Time 2023-04-15 23:04:16
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 | while (n!=1) {
| ^
3nplus1.cpp:10:12: error: unable to find numeric literal operator ‘operator""n’
10 | cout << 3n+1;
| ^~