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

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:10:15: error: no match for ‘operator+=’ (operand types are ‘std::basic_ostream<char>’ and ‘int’)
10 | cout << n*3+=1;
| ~~~~~~~~~~~^~~