Problem 3nplus1
User annabel
Submission Time 2024-07-28 21:09:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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