-
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
-
Slider
摆脱微软控制用VB自写滚动条模块,有需要的下。(Get rid of the Microsoft VB since writing the scroll bar control module, in need.)
- 2013-08-21 10:34:01下载
- 积分:1
-
04299003
有關於發光二極體利用光子晶體設計分析之文章(Has on the light-emitting diode using photonic crystal design and analysis of the article)
- 2008-07-04 17:20:43下载
- 积分:1
-
利用Lsasrv.dll 的RPC缓冲溢出漏洞的源码
可适用于: * - Windows XP Professional SP0 English version * - Windows XP Professional SP0 Russian version * - Windows XP Professional SP1 English version * - Windows XP Professional SP1 Russian versi(applicable to :*- Windows XP Professional SP3 English version*- Windows XP Professional bug Russian version*- Windows XP Professional SP1 English version*- Windows XP Professional SP1 Russian versi)
- 2005-05-03 09:39:53下载
- 积分:1
-
DTtest
借助于深度优先搜索机制实现判定表的生成,对软件测试进行指导。(By means of a depth-first search mechanism to determine the table generation software testing guidance.)
- 2013-04-23 15:10:41下载
- 积分:1
-
ChuanKouTiaoShi
串口调试助手,适合做串口通讯的人员使用。VB.NET编程。(vb.net serial debug for usart comm.)
- 2013-07-19 14:45:15下载
- 积分:1
-
panda-ea
超级头皮EA用于E/U 1分钟 一个非常好的外汇软件(Super Scalp EA for E/U 1 分钟)
- 2013-11-17 16:05:24下载
- 积分:1
-
G729code
绝对可编译过,可用的,带VC工程的G729编解码(definitely be compiled and available, with the VC G729 codecs)
- 2007-03-05 11:26:53下载
- 积分:1
-
Slider
摆脱微软控制用VB自写滚动条模块,有需要的下。(Get rid of the Microsoft VB since writing the scroll bar control module, in need.)
- 2013-08-21 10:34:01下载
- 积分:1
-
fonetqer
MFC的多模板使用,一起添加类似Visual的StartPage(More templates using MFC, add together similar Visual StartPage)
- 2017-03-14 13:19:33下载
- 积分:1