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

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:4:9: error: expected primary-expression before ‘<’ token
4 | int n =< 10000;
| ^
3nplus1.cpp:7:11: error: lvalue required as left operand of assignment
7 | if (n%2 =0) {
| ^
3nplus1.cpp:11:12: error: unable to find numeric literal operator ‘operator""n’
11 | cout << 3n+1;
| ^~