Wrong solution for problem KMXOR

for problem “KMXOR Problem - CodeChef”, I am getting wrong answer

My solution: CodeChef: Practical coding for everyone

Can somone please tell what is wrong in my solution since am unable to figure out?

Thanks