Zhenyang Dai's submission of Divide the Cake | CodeChef