Tiancheng Lou's submission of Efficient Painting | CodeChef