参看资料:
http://www.cnblogs.com/zhengguiping--9876/p/5758993.html
https://baike.baidu.com/item/几何分布/10676983?fr=aladdin
题目:
Given a dice with n sides, you have to find the expected number of times you have to throw that dice to see all its faces at least once. Assume that the dice is fair, that means when you throw the dice, the probability of occurring any face is equal.
For example, for a fair two sided coin, the result is 3. Because when you first throw the coin, you will definitely see a new face. If you throw the coin again, the chance of getting the opposite side is 0.5, and the chance of getting the same side is 0.5. So, the resu