Xor profit problem

why my code is not accepted