WA in one test case in question (Chef And Easy Xor Queries)

In this question
I am getting wrong answer in one of the test case .
here is my solution

any help would be appreciated .