Balls and Boxes---hdu5810(推公式)

题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5810

有n个球m个盒子,随机把球放到盒子中,求每个盒子球个数的方差的期望值 E[V];

推公式吧,或者打表找规律结果就是n*(m-1)/(m*m)

 

posted @ 2016-08-10 09:44  西瓜不懂柠檬的酸  Views(133)  Comments(0Edit  收藏  举报
levels of contents