-
poj3941
poj 3941
Hideyuki is allowed by his father Ujisato some 1000 yen bills every month for his pocket money. In the first day of every month, the number of bills is decided as follows. Ujisato prepares n pieces of m-sided dice and declares the cutback k. Hideyuki rolls these dice. The number of bills given is the sum of the spots of the rolled dice decreased by the cutback. Fortunately to Hideyuki, Ujisato promises him to give at least one bill, even if the sum of the spots does not exceed the cutback. Each of the dice has spots of 1 through m inclusive on each side, and the probability of each side is the same.
In this problem, you are asked to write a program that finds the expected value of the number of given bills. (poj 3941 Hideyuki is allowed by his father Ujisato some 1000 yen bills every month for his pocket money. In the first day of every month, the number of bills is decided as follows. Ujisato prepares n pieces of m-sided dice and declares the cutback k. Hideyuki rolls these dice. The number of bills given is the sum of the spots of the rolled dice decreased by the cutback. Fortunately to Hideyuki, Ujisato promises him to give at least one bill, even if the sum of the spots does not exceed the cutback. Each of the dice has spots of 1 through m inclusive on each side, and the probability of each side is the same. In this problem, you are asked to write a program that finds the expected value of the number of given bills.)
- 2013-07-16 20:45:28下载
- 积分:1
-
51读写W25X16程序
51读写W25X16程序,已应用于实际的产品开发中,可直接拿来使用
- 2020-12-03下载
- 积分:1
-
1
发撒地方萨芬 飞洒的浪费就 广泛的郭德纲个梵蒂冈的(Safin Feisa hair sprinkled local waste on a wide range of Guo Degang Vatican)
- 2013-11-26 15:38:39下载
- 积分:1
-
使用半分析半仿真的方法进行QPSK系统仿真,分别计算在高斯信道、瑞利衰落信道、莱斯信道环境下的系统误比特率
使用半分析半仿真的方法进行QPSK系统仿真,分别计算在高斯信道、瑞利衰落信道、莱斯信道环境下的系统误比特率
- 2020-12-03下载
- 积分:1
-
ECG Viewer
他是一个Matlab GUI 界面用于查看,处理和注释心电图数据文件,ECG Viewer提供注释数据库,ECG滤波,使用模板匹配和RR间期进行心跳检测。
- 2020-11-06下载
- 积分:1
-
ASCII and Uniocde Converter
说明: 一种基于labview的ASCII和Uniocode转换的程序。(A LabVIEW-based ASCII and Uniocode conversion program.)
- 2020-06-16 03:40:02下载
- 积分:1
-
hopfield神经网络matlab实现
很好的hopfield神经网络matlab实现代码,适合初学者借鉴学习
- 2020-11-27下载
- 积分:1
-
多元非线性回归分析源代码
数学工具,用于多元非线性回归分析,包含源代码,适用于源代码的学习和数学工具的使用
- 2020-11-04下载
- 积分:1
-
初学java者可参考的一个简单的一对一聊天程序,
初学java者可参考的一个简单的一对一聊天程序,-beginners can reference a simple one-on-one chat program.
- 2022-01-25 22:50:09下载
- 积分:1
-
谱减法及小波去噪对语音增强好包含语音增强效果评测代码(很全)(.m)
本人毕设语音增强全套代码,呕心沥血之作,买到就是赚到(.m)
- 2020-12-04下载
- 积分:1