-
ShortRoad
完整实现了单源最短路径的算法。
采用的是贪心算法思想。(integrity to achieve a single-source shortest path algorithm. The greedy algorithm.)
- 2006-10-19 17:32:22下载
- 积分:1
-
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
-
Scripting
轻量级的源码编辑控件,很小巧,也很简单,方便集成到自己的开发环境中。(Lightweight source edit control, it is compact, is also very simple, convenient integrated into their development environment.)
- 2008-06-05 15:53:28下载
- 积分:1
-
DLL_explorer
一个将DLL文件插入Explorer进程的源代码(Insert a DLL file Explorer process source code)
- 2007-11-06 17:24:18下载
- 积分:1
-
Graphics
vc code of GraphicsDemo2Doc(GraphicsDemo2Doc
vc code of GraphicsDemo2Doc)
- 2009-03-11 18:44:02下载
- 积分:1
-
FDK-reconstruct
通过vc2005编写的3D重建程序实现CT数据的三维重建过程,最终完成了重建。(Written by vc2005 3D reconstruction process, to achieve three-dimensional reconstruction of CT data)
- 2016-07-12 11:39:57下载
- 积分:1
-
crain
池塘夜降彩色雨,可以用的。大家试试看。呵呵(wuu)
- 2009-06-17 10:02:33下载
- 积分:1
-
ConsoleApplication1
一种获取4位随机数的方法并将获取的随机数显示(A method for obtaining a random number of 4 bits and displaying the random number obtained)
- 2020-06-19 01:40:01下载
- 积分:1
-
Advanced-C-Technology
《C高级编程技术》,介绍如何用TC系统所提供的相关函数实现菜单设计,图形绘制,动画的播放,乐曲的演奏,汉字的现实等技术。()
- 2008-04-09 17:03:24下载
- 积分:1
-
CPP-program-desig(third-edition)
C++面向对象程序设计教程相关电子课件,其中内容全面且丰富,具有很好的参考价值。 (" C++ object-oriented programming tutorial (3rd edition)" comprehensive and extensive electronic courseware)
- 2011-09-14 21:17:47下载
- 积分:1