-
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
-
20091119kbqV2.0
特点:
一、与第一版本质不同。— 全新代码编译。 加入支持拖拽功能。
二、独特图标提取技术。— 完全不失真提取exe,dll,ocx,ico等。
三、数据压缩加密超强。— 采用aplib0.44算法。效果自行测试。
四、捆绑任意数量文件。— 如果你机器够好。 支持捆绑无限个。
五、躲避所有的反捆绑。— 能躲避现在市面上所有 反捆绑程序。
(Features: 1, with the first edition of a different nature.- The new code is compiled. Add support for drag and drop functionality. Second, the unique icon extraction.- Completely distortion extracting exe, dll, ocx, ico and so on. 3, data compression, encryption super.- Use aplib0.44 algorithm. Effects of self-testing. 4, tied any number of files.- If you are good enough machine. Supports unlimited bundle. 5, to avoid all anti-tied.- Be able to avoid all anti-bundled programs are now available in the market.)
- 2009-11-27 17:37:22下载
- 积分:1
-
recttracker
这个是MFC中关于tracker应用的一些技巧。实现拖动,放大缩小(it s about tracker in mfc!)
- 2009-04-30 10:37:04下载
- 积分:1
-
MapControl
包括一些图层的基本操作,如鹰眼功能,书签功能、添加图层(Including some of the layers of the basic operations, such as Hawkeye, bookmark function, add layers)
- 2015-05-11 14:54:20下载
- 积分:1
-
oopstring
object oriented programing.
- 2010-11-07 01:59:36下载
- 积分:1
-
Lesson3Code
孙鑫VC第三讲源码完整版 孙鑫VC视频第三讲源码(Xin Sun full version of VC Third Lecture source)
- 2010-05-07 20:04:15下载
- 积分:1
-
weno-source-codes
由江广山(音译)、舒其望(Jiang Guangshan & Shu Chi-Wang, JCP 126 pp202-228, 1996)等人发展的5阶有限差分WENO格式,并提供用C++语言编写的程序源码(5 order WENO SOURCE CODE)
- 2011-10-19 12:30:49下载
- 积分:1
-
DVRPlayer
说明: 一个VC写的程序,dvr播放器,希望对初学同学又所帮助,已编译通过,好用。(VC to write a program, dvr player, want to help beginner students they have been compiled by, easy to use.)
- 2010-04-21 23:03:35下载
- 积分:1
-
OutlAddin
outlook的插件, 可以供初学者进行参考学习。(outlook s plugin)
- 2011-09-14 17:17:47下载
- 积分:1
-
MFHRM
基于开发板的串口通信,主要运用了MFC和通信协议(Serial communication based on development board)
- 2018-03-29 21:06:57下载
- 积分:1