Problem 3nplus1
User cheryltkx
Submission Time 2026-02-28 10:20:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:6:10: error: lvalue required as left operand of assignment
6 | if (n%2=0){
| ^
3nplus1.cpp:15:8: error: unable to find numeric literal operator ‘operator""n’
15 | 3n+1
| ^~