Zhang Yide's submission of Cut the Board | CodeChef