題目網址: http://www.puzzleup.com/2016/
http://www.puzzleup.com/2016/puzzle/?5
答題時限: 8月25日7PM-比賽結束(約12月14日)
加分時限: 8月25日7PM-8月30日6:59PM
答對可得基本分100分。答案可上傳5次,每改1次答案從基本分扣20分。
比賽期間內可隨時上傳答案,加分時限內答對第n天加(6-n)分
另依題目的難易有額外加分(如有80%的人這題答錯,答對者加80分)
◆ONE HUNDRED COINS
In how many ways 100 gold coins can be divided into groups, so that the
difference between any two groups is at most 2?
Note: Permutations are not considered as different.
Example: If the problem was asked for 6 coins, the answer would be 9:
(1,1,1,1,1,1), (1,1,1,1,2), (1,1,2,2), (1,1,1,3), (1,2,3), (2,2,2), (2,4),
(3,3), (6).
現要把一百枚金幣分成數堆,使得任意兩堆的金幣數都最多差2,有幾種方法?
# 重新排列並不視為不同的方法
舉例: 6個金幣有9種分法:
(1,1,1,1,1,1), (1,1,1,1,2), (1,1,2,2), (1,1,1,3), (1,2,3), (2,2,2), (2,4),
(3,3), (6).