[数学递推]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的主要内容,如果未能解决你的问题,请参考以下文章
一切系统都是分布式的:Everything is distributed