Solution for LINXOR

Can someone provide solution for LINXOR Problem - CodeChef