Problem 3nplus1
User icecream
Submission Time 2026-06-22 16:55:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:12:14: error: no match for ‘operator/=’ (operand types are ‘std::basic_ostream<char>::__ostream_type’ {aka ‘std::basic_ostream<char>’} and ‘int’)
12 | cout << n /= 2;
| ~~~~~~~~~~^~~~