概率dp+期望
mumei314
这个作者很懒,什么都没留下…
展开
-
lightoj1027——经典期望问题(设期望求解)
题目链接:https://cn.vjudge.net/problem/LightOJ-1027#author=0You are in a maze; seeing n doors in front of you in beginning. You can choose any door you like. The probability for choosing a door is equal...原创 2019-08-16 10:32:28 · 467 阅读 · 0 评论 -
lightoj1030——经典期望(直接逆向求期望)
题目链接:https://cn.vjudge.net/problem/LightOJ-1030You 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 i...原创 2019-08-16 10:46:51 · 534 阅读 · 0 评论 -
lightoj1038——期望问题+因数分解
题目链接:https://cn.vjudge.net/problem/LightOJ-1038Rimi learned a new thing about integers, which is - any positive integer greater than 1 can be divided by its divisors. So, he is now playing with this...原创 2019-08-16 11:05:40 · 191 阅读 · 0 评论 -
lightoj1104——生日悖论+概率
题目链接:https://cn.vjudge.net/problem/LightOJ-1104Sometimes 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...原创 2019-08-16 11:08:50 · 785 阅读 · 0 评论 -
概率(高斯消元)+期望入门总结(真的只是入门!!!!)
昨天做了学长拉的概率dp+期望的专题,也算是真正入了点门,大致看到这种题也有了一些思路,今天来做个总结。其实这都是高中和初中的知识,可怪我以前就对概率的题很反感(QAQ),所以现在学的时候才觉得好难。先说说期望吧,期望还是比较好理解的,做期望题的难点在于找到方程,解方程,也可以直接逆序求期望(也能顺序,看边界条件,具体问题具体分析)。关于这类题型主要还在于找状态转移方程,这要是dp的难点,...原创 2019-08-16 12:06:37 · 550 阅读 · 0 评论 -
2019多校第七场1011——概率dp+逆元
题目链接:https://cn.vjudge.net/contest/319662#problem/GCuber QQ always envies those Kejin players, who pay a lot of RMB to get a higher level in the game. So he worked so hard that you are now the game ...原创 2019-08-16 11:47:25 · 232 阅读 · 0 评论 -
lightoj1151——高斯消元+期望
题目链接:https://cn.vjudge.net/problem/LightOJ-1151'Snakes and Ladders' or 'Shap-Ludu' is a game commonly played in Bangladesh. The game is so common that it would be tough to find a person who hasn't p...原创 2019-08-16 12:13:47 · 381 阅读 · 0 评论