Problem | 3nplus1 |
---|---|
User | jaejae7 |
Submission Time | 2024-07-08 14:26:22 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:8:16: error: lvalue required as left operand of assignment
8 | while (n%2=0){
| ^
3nplus1.cpp:11:16: error: lvalue required as left operand of assignment
11 | while (n%1=0){
| ^
3nplus1.cpp:12:17: error: unable to find numeric literal operator ‘operator""n’
12 | cout << 3n+1;
| ^~