Grid of Many Xors

Problem Name:
Grid of Many Xors
Site:HackerEarth
Links:
Tags:
Problem setters: