Prashant Mahesh's submission of Carpet Conundrum | CodeChef