Problem 3nplus1
User ryelin
Submission Time 2023-11-08 13:52:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:8:13: error: no match for ‘operator/=’ (operand types are ‘std::basic_ostream<char>’ and ‘int’)
8 | cout << n/=2;
| ~~~~~~~~~^~~
3nplus1.cpp:10:18: error: lvalue required as left operand of assignment
10 | cout << n*=3+=1;
| ^