| Problem | 3nplus1 |
|---|---|
| User | Dana |
| Submission Time | 2023-11-08 15:20:17 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
3nplus1.cpp: In function ‘int32_t main()’:
3nplus1.cpp:7:13: error: lvalue required as left operand of assignment
7 | while (n%2=0) {
| ^
3nplus1.cpp:10:13: error: lvalue required as left operand of assignment
10 | while (n%2=1) {
| ^
3nplus1.cpp:11:11: error: unable to find numeric literal operator ‘operator""n’
11 | cout << 3n+1;
| ^~