Problem 3nplus1
User adammmamammamamamaamamam
Submission Time 2023-04-16 19:45:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:10:14: error: no match for ‘operator/=’ (operand types are ‘std::basic_ostream<char>’ and ‘int’)
10 | cout << n /= 2;
| ~~~~~~~~~~^~~~
3nplus1.cpp:13:22: error: expected ‘;’ before ‘}’ token
13 | cout << 3* n << +1
| ^
| ;
14 | }
| ~