| Problem | 3nplus1 |
|---|---|
| User | sharelletqx |
| Submission Time | 2026-02-28 10:18:14 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:8:11: error: lvalue required as left operand of assignment
8 | if (n%2=0){
| ^
3nplus1.cpp:9:17: error: no match for ‘operator/=’ (operand types are ‘std::basic_ostream<char>’ and ‘int’)
9 | cout<<'\n'<<n/=2;
| ~~~~~~~~~~~~~^~~