Dinesh Goyal's submission of Splitting Candies | CodeChef