摘要: 题目链接: http://acm.split.hdu.edu.cn/showproblem.php?pid=1950 Description 'Oh no, they've done it again', cries the chief designer at the Waferland chip 阅读全文
posted @ 2016-08-19 21:09 爱记录一切美好的微笑 阅读(692) 评论(0) 推荐(0) 编辑
摘要: Mean: 有一个直线的金矿,每个点有一定数量的金子; 你从0开始,每次扔个骰子,扔出几点就走几步,然后把那个点的金子拿走; 如果扔出的骰子超出了金矿,就重新扔,知道你站在最后一个点; 问拿走金子的期望值是多少; analyse1: 求得每一点的概率即可; E(X) = X1*p(X1) + X2* 阅读全文
posted @ 2016-08-19 16:36 爱记录一切美好的微笑 阅读(135) 评论(0) 推荐(0) 编辑