can anybody help XXOR(WA for large datasets)

Can anybody explain why my this code giving WA for large datasets.
link - https://www.codechef.com/viewsolution/17840444