Description: Pa autumn Li adults always stay at home then, so how can do it? So Misaki autumn night to find Pa Li adults, I want her to go out every day forging
Refining for some time. Of course, Pa Li adults fall flatly refused. Misaki s repeated persuasion in the night, the adults agreed to par next autumn Li received
Nearly a month training program, but- how could adults Li Pa fall seriously enforced? Pa Li adults fall n times a day will throw color
Son, throw only when at least 3 m times greater than the number of consecutive time, she will really implement the training program. Well, now tell you every
Li Pa autumn days the number of adults throwing dice n, and the minimum number of consecutive times greater than 3 m, you can calculate the daily par Qiu Li adults go for sports
The probability of it?
Note: The dice is 1 to 6 points, assuming that each appeared to throw the dice the probability of each point are equal.
To Search:
File list (Check if you may need any files):
O(n).cpp
O(nm).cpp
坚持不懈.cpp
蒙特卡洛.cpp
2^n.cpp