-
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
-
UDP-based_Sliding_Window_Protocol
基于UDP的滑动窗口协议的设计与实现
UDP-based Sliding Window Protocol (UDP-based Sliding Window Protocol Design and Implementation of)
- 2009-11-25 11:08:41下载
- 积分:1
-
WSSccrSaverI
WINDOWS下可可播放多媒体文件和其它
(Under WINDOWS cocoa to play multimedia files and other)
- 2012-08-16 09:05:35下载
- 积分:1
-
Com_N
本程序调用了微软自带的mscomm控件,实现com口的数据接收,读者可自行添加发送数据功能。内附mscomm.ocx控件及其注册方法,本程序是用的静态链接库,为的是能在没有vc库的机器上也可以运行,所以个头大了点。(Microsoft's own mscomm controls, I realize com data reception, readers can add their own functions to send data. Enclosing mscomm.ocx control and registration method, the procedure is used in the static link library, for the in the absence of vc for the machine can also run, giving the larger point.)
- 2005-07-31 09:50:35下载
- 积分:1
-
SoftScope
功能描述:这是一个示波器波形显示控件,能够完成类似于示波器的功能。最多可以同时显示8个通道的数据波形,可以动态切换显示通道。缩放xy轴,弹出半透明窗口显示坐标,y轴方向平移波形等功能。
操作使用键盘快捷键,操作说明见readme.txt,目前按键焦点的得到有点问题,要点击开始后在示波器上鼠标左键单击一下,然后按一下上箭头键,才可以响应按键指令,有高手知道怎么改进希望告诉作者:xiang57@163.com(Functional Description: This is an oscilloscope waveform display control, able to complete similar oscilloscope function. At the same time show up to eight channels of waveform data can be displayed dynamically switch channels. Zoom xy axis, translucent pop-up window displays the coordinates, y-axis direction of translational wave functions. Operation of the use of keyboard shortcuts, operating instructions see readme.txt, the current key focus has been a problem, it is necessary to click on the oscilloscope after the beginning click the left mouse button, and then click on the arrow keys, before they can respond to key commands, has a master know how to tell the authors hope to improve: xiang57@163.com)
- 2008-07-06 21:24:24下载
- 积分:1
-
opnet_aloha
实例 用Modeler搭建一个ALOHA协议仿真平台,进一步熟悉Modeler节点级和进程级的操作,深化三层建模机制。(进程->节点->网络)
(Examples ALOHA protocol with Modeler to build a simulation platform to further familiarize Modeler node level and process-level operations, deepening three modeling mechanism. (Process-> Node-> Network))
- 2014-01-05 17:08:34下载
- 积分:1
-
5-21xf
CSOL游戏通用外挂,可以加速,透视.修改文件等(Csol game generic plug-in, can accelerate, perspective)
- 2013-05-21 21:09:50下载
- 积分:1
-
VCcallACM
讲述vc调用vcm的实现音频播放的程序。(About the realization of vc call vcm audio playback programs.)
- 2009-12-23 15:13:45下载
- 积分:1
-
QQ_robot_sc
VC++6.0编写的QQ机器人程序(prepared by the procedures QQ robot)
- 2006-09-16 06:19:38下载
- 积分:1
-
VNC_clientand_server
vnc 源码, 非常不错的远程控制软件.(vnc remote control pc)
- 2020-12-04 17:09:25下载
- 积分:1