Ajmal Nayeem's submission of Cut the Board | CodeChef