Zhang Yide's submission of Sherlock and the Grid | CodeChef