Marcos Kolodny's submission of Cut the Board | CodeChef