摘要: Problem Statement We have balls of K different colors. The colors are numbered 0 through K-1, and the number of balls of color i is X[i]. We want to divide the balls into as few packages as possible. Each package must contain between 1 and K balls, inclusive. Additionally, each package must be eithe 阅读全文
posted @ 2014-02-16 21:23 _雨 阅读(251) 评论(0) 推荐(0) 编辑
摘要: Problem Statement Vocaloids Gumi, Ia, and Mayu love singing. They decided to make an album composed of S songs. Each of the S songs must be sung by at least one of the three Vocaloids. It is allowed for some songs to be sung by any two, or even all three Vocaloids at the same time. The number of son 阅读全文
posted @ 2014-02-16 20:29 _雨 阅读(330) 评论(0) 推荐(0) 编辑