Problem | 3nplus1 |
---|---|
User | dieunq1309 |
Submission Time | 2023-02-20 10:34:48 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:13:14: error: lvalue required as left operand of assignment
13 | if(n % 2 = 0)
| ^
3nplus1.cpp:21:8: error: unable to find numeric literal operator ‘operator""n’
21 | n = 3n + 1;
| ^~
3nplus1.cpp:25:2: error: expected ‘}’ at end of input
25 | }
| ^
3nplus1.cpp:5:1: note: to match this ‘{’
5 | {
| ^