map's submission of Painting the Boxes | CodeChef