登录
首页 » Visual C++ » poj3941

poj3941

于 2013-07-16 发布 文件大小:1KB
0 295
下载积分: 1 下载次数: 2

代码说明:

  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.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • NetAnts
    用VC++6.0 MFC 实现的蚂蚁下载功能 功能简单可行(VC++6.0 MFC download)
    2009-05-08 10:25:38下载
    积分:1
  • bpnnet_156
    在实际应用中,原始的BP算法很难胜任,因此出现了很多的改进算法。BP算法的改进主要有两种途径,一种是采用启发式学习方法,另一种则是采用更有效的优化算法。本例采用动量BP算法,来实现对网络的训练过程,动量法降低了网络对于误差曲面局部细节的敏感性,有效地抑制网络陷于局部极小。 (In practical applications, the original BP algorithm very difficult to do, so there were a lot of the improved algorithm. BP Algorithm There are two main channels, a heuristic learning method is adopted, another is the introduction of more efficient optimization algorithm. In this case the use of momentum BP algorithm to realize the network training process, momentum method to reduce the network error surface for the local details of the sensitivity of the network effectively inhibited in a local minimum.)
    2008-06-16 20:29:09下载
    积分:1
  • GDIjianhua
    GDI 使用的一款程序。提大家免费供研究,谢谢(GDI uses a program. Provides research)
    2013-05-15 10:19:39下载
    积分:1
  • jifen
    用c语言编出,求下列积分值得程序, 用 n=10 , 100 , 1000 时的值 和 exact solution 做比较 (Using c language out, find the following points merit program, with n = 10, 100, 1000 and the exact solution value when compared)
    2013-07-08 15:55:44下载
    积分:1
  • PMA
    PMA规约模拟测试软件。适合初学者使用,包含几个常用规约(PMA Statute of the simulation test software)
    2013-09-17 12:23:28下载
    积分:1
  • Nurbs
    Nurbs曲线曲面源代码。其中包含德布尔算法计算B样条曲线,德布尔算法计算B样条曲线的导矢,B样条曲面,Nurbs曲线,Nurbs曲面。(The program code for NURBS curve and NURBS surface.)
    2021-03-11 20:59:25下载
    积分:1
  • Beidou_satellite
    北斗卫星产生伪随机码的程序,用以模拟输出伪随机序列(Beidou satellite program generates pseudo-random code to simulate the output of the pseudo-random sequence)
    2021-04-19 09:58:51下载
    积分:1
  • ndislwf1
    NDIS 6中间层过滤驱动实现源代码,实现功能为网速限制,实现算法为漏桶算法。(NDIS 6 middle layer filter driver source code, to achieve the function of the speed limit, for the leaky bucket algorithm algorithm.)
    2014-08-14 09:02:25下载
    积分:1
  • receive
    DSP实现TL16C550及RS232的串口传输(接收端)(DSP realize TL16C550 and RS232 serial transmission (receiving end))
    2008-08-03 10:47:06下载
    积分:1
  • GIS
    Part 1:组件式GIS开发 Part 2:基于C#.NET的程序设计与开发 Part 3:AO(ArcObjects)的体系结构分析 Part 4:基于 VBA的二次开发 Part 5:ArcGIS Engine空间分析功能开发 Part 6:ArcGIS Engine三维开发 (Part 1: Component GIS Development Part 2: based on the C# NET program design and development Part 3: AO (of ArcObjects) architecture Part 4: Part based on the secondary development of VBA Part 5: ArcGIS Engine spatial analysis functions developed 6: ArcGIS Engine three-dimensional development)
    2013-03-11 10:30:57下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载