![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数学期望
yawen_2016
这个作者很懒,什么都没留下…
展开
-
B - Discovering Gold Light oj 1030
You are in a cave, a long cave! The cave can be represented by a 1 x N grid. Each cell of the cave can contain any amount of gold. Initially you are in position 1. Now each turn you throw a perfect6 sided dice. If you get X in the dice after throwing, you原创 2016-08-05 10:57:14 · 640 阅读 · 0 评论 -
E - Birthday Paradox Light 1104
Sometimes some mathematical results are hard to believe. One of the common problems is the birthday paradox. Suppose you are in a party where there are 23 people including you. What is the probability that at least two people in the party have same birthda原创 2016-08-05 15:54:15 · 229 阅读 · 1 评论 -
文章标题
DescriptionYou are in a reality show, and the show is way too real that they threw into an island. Only two kinds of animals are in the island, the tigers and the deer. Though unfortunate but the truth原创 2016-08-05 21:55:02 · 164 阅读 · 0 评论 -
数学期望,I - Beating the Dataset,Light OJ 1274
Light OJ 1274,数学期望原创 2016-08-06 10:21:45 · 498 阅读 · 0 评论 -
文章标题
第五场多校的第一题,一个求期望的题目,我a啦2333 (●’◡’●) 这应该是我第一次独自a掉多校的题,虽然借助了标称帮我debug; 虽然用了2天多。。。 这是个悲伤的故事。。。 好啦这题主要是明白梯推式子; 首先要明白,最坏的方法就是不断取1块钱,然后考一次提醒总之可以取完所有的钱,之前卡在这,一直以为有可能被police带走。。。。 然后如果只有一次提醒了那么就只能不断取一块钱;原创 2016-08-08 10:05:19 · 197 阅读 · 0 评论 -
文章标题
D - Just another Robbery Time Limit:4000MS Memory Limit:32768KB 64bit IO Format:%lld & %llu LightOJ 1079 DescriptionAs Harry Potter series is over, Harry has no job. Since he wants to make原创 2016-08-11 17:12:19 · 155 阅读 · 0 评论