Xor profit problem

Compiling failed with exitcode 1, compiler output:
prog.cpp: In function ‘int main()’:
prog.cpp:17:5: error: no match for ‘operator>>’ (operand types are ‘std::ostream {aka std::basic_ostream}’ and ‘int’)
cout>>temp_max;
how to solve this error

Hey @jaiswal.ashish502
write cout << temp_max
instead of cout >> temp_max

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.