Problem | 3nplus1 |
---|---|
User | SMILE |
Submission Time | 2024-04-13 11:44:12 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:9:10: error: lvalue required as left operand of assignment
9 | if(n%2=0){
| ^
3nplus1.cpp:11:16: error: lvalue required as left operand of assignment
11 | }else if(n%2=1){
| ^
3nplus1.cpp:12:10: error: unable to find numeric literal operator ‘operator""n’
12 | cout<<3n+1;
| ^~