Codeforces Round #259 (Div. 2) 题解
Twilight Sparkle was playing Ludo with her friends Rainbow Dash, Apple Jack and Flutter Shy. But she kept losing. Having returned to the castle, Twilight Sparkle became interested in the dice that were used in the game. The dice has m face
Twilight Sparkle was playing Ludo with her friends Rainbow Dash, Apple Jack and Flutter Shy. But she kept losing. Having returned to the castle, Twilight Sparkle became interested in the dice that were used in the game.
The dice has m faces: the first face of the dice contains a dot, the second one contains two dots, and so on, the m-th face contains mdots. Twilight Sparkle is sure that when the dice is tossed, each face appears with probability . Also she knows that each toss is independent from others. Help her to calculate the expected maximum number of dots she could get after tossing the dice n times.
上一篇: Oracle 01090问题如何解决
推荐阅读
-
Codeforces Round #259 (Div. 2) 题解
-
Codeforces Round #260 (Div. 2) 题解
-
Codeforces Round #254 (Div. 2)B. DZY Loves Chemistry
-
Codeforces Round #256 (Div. 2) D. Multiplication Table_html/css_WEB-ITnose
-
Codeforces Round #264 (Div. 2)[ABCDE]
-
Codeforces Round #256 (Div. 2) 题解_html/css_WEB-ITnose
-
Educational Codeforces Round 81 (Rated for Div. 2) - D. Same GCDs - 扩欧+欧拉函数
-
Codeforces Round #231 (Div. 2)
-
Codeforces Round #220 (Div. 2) D 树状数组 && 二分_html/css_WEB-ITnose
-
Codeforces Round #247 (Div. 2) ABC