Gabriel Pereira de Carvalho's submission of Sherlock and the Grid | CodeChef