XorSum - Problem

i am thinking about this problem from today’s morning but unable to come up with a solution or unable to understand the editorial. can anyone explain me this in easier way. it will be great help to me.
Problem LINK - https://www.codechef.com/problems/AMXOR
Thanking You for Reading this post