[数学递推]Everything Is Generated In Equal Probability

Posted lllxq

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[数学递推]Everything Is Generated In Equal Probability相关的知识,希望对你有一定的参考价值。

http://acm.hdu.edu.cn/contests/contest_showproblem.php?pid=1005&cid=849

技术图片

思路:

f(i)表示长度为i的随机排列作为参数的返回值期望

技术图片

整理得, 

 技术图片

则递推可求得f(i),最后答案为:

技术图片

 

以上是关于[数学递推]Everything Is Generated In Equal Probability的主要内容,如果未能解决你的问题,请参考以下文章

LA2995 Image is everything

Image Is Everything LA2995

everything is a object

一切系统都是分布式的:Everything is distributed

Position is everything?(css定位学习的一些心得)

UVA 1030 - Image Is Everything模拟+思维+迭代更新