Abhijeet Krishnan's submission of OR Matrix | CodeChef