摘要: We distribute some number of candies, to a row of n = num_people people in the following way: We then give 1 candy to the first person, 2 candies to t 阅读全文
posted @ 2020-08-20 14:06 fatttcat 阅读(101) 评论(0) 推荐(0) 编辑
摘要: You have n candies, the ith candy is of type candies[i]. You want to distribute the candies equally between a sister and a brother so that each of the 阅读全文
posted @ 2020-08-20 13:45 fatttcat 阅读(252) 评论(0) 推荐(0) 编辑