搜索资源列表
random-numbers
- 先判断输入是否符合要求,不符合给出错误提示,直至符合要求。 然后每隔500ms生成一个随机数,与输入的数比较显示结果,并累加数值之和。若差值小于等于10则停止生成,计算平均数,与输入的数比较显示结果。同时绘制随机数构成的曲线。 -Generating random numbers and comparing them with the integer you input until the difference between them is smaller than or equal
suijishu
- C语言如何生成随机数 伪随机数srand() rand()-srand() rand()
RanNumber
- RanNumber.dll生成随机数的D-RanNumber.dll is one
sj_21_1
- 真正生成随机数的代码 并且得出最大值 简单处理 可以直接调用-Truly random number generation code and obtained the maximum value of simple processing can be called directly
35
- Vb生成小数位的随机数示例程序 ,很不错的VB源码,适合VB爱好者学习研究。-Vb sample program generates random number of decimal places, a very good VB source code for VB lovers learn.
voting
- 投票规则如下: 1. 每个投票者只可以投一次票. 投票者通过生成的随机数 在第一个到最后一个候选人之间选择一个候选人来进行投票. 2. 每一个候选人都保存着投票者给他们投票的记录 3. 选举之后, 拥有最高投票数的候选人当选. -The voting rules are as follows: 1. Each voter can vote only once. The voter decides which candidate to choose by generating
CZhangJian
- 生成一系列随机数,然后生成各种统计图,这么一个小程序-Generate a series of random numbers, and then generate a variety of charts, so a small program
random
- 可选定任意范围和数量生成随机数,用c写的window程序-Can select any range and quantity to generate random numbers, written in c window program
RSraandda
- 生成随机数的函数,能能指定随机数的大小与数量 -Generate a random number function, and can specify the size and number of random numbers
mzhyyrara
- 主要运用VB中的Rnd函数,来实现随机查找与打乱排序的功能,从而实现随机抽奖的目的。Rnd函数的语法结构是Rnd[(number)],可选的nuumber参数是 single或任何有效的数值表达式。Rnnd函数返回小于1但大于或等于0的值。number 的值决定了 Rnd 生成随机数的方式。 -Purpose of use VB Rnd function, to random search disrupt sort functions, in order to achieve the ran
TestChart
- teechart插件使用,自动生成0到100之间的随机数,并利用teechart插件显示图表-the teechart plugin uses to automatically generate a random number between 0-100 and display the chart teechart plug
suiji
- 生成伪随机数实例源码下载,演示如何使用C#程序生成伪随机数,运行程序后,只需点击“生成伪随机数”即可。-Generate pseudo random number example source download, demonstrates how to use c# program pseudo random number generation, operation program, simply click on the "formation pseudo random number" can
01
- 堆排序和基数排序的C++算法实现,要求以命令选择输出,如输入命令1随机生成100个随机数,程序可以运行,但是还存在一点点问题-Heap sort, radix sort C++ algorithm requires a command to select the output as input commands randomly generated 100 random numbers, the program can be run, but there is a little problem
Random.rar
- 生成随机数,可以选择生成位数,随机的范围等等,用于需要随机出许多数字的情况,Needs to randomly generate a random number, and can choose to generate digits, random range, etc., for many digital
From_SJKS09_X31
- 生成一组随机数,构成数,求出最短路径,随意移动点,可以图示-Csharp tree the structure of data huffman
CPP
- 定义学生结构体,包含“学号、姓名、三门课成绩、平均成绩”等信息,利用该结构体存储,期中考试中每个同学高等数学、大学英语、程序设计基础三门课的成绩,利用函数进行如下信息统计,学生人数30人,所有学生的成绩采用随机生成,每门课的成绩为[40,100]之间的随机数。数据的初始化采用自定义的initData函数实现,分别编写studentAve函数求每个学生平均分的从高到低输出学生的成绩,一个学生一行;courseAve函数求课程平均分并输出每门课程的平均分;countFail函数统计有不及格学生的人数
rankandsort
- 生成N=10^7个随机数,通过快速排序找到第N/4与第N/2大的数,并显示所耗时间。-N = 10 ^ 7 random number is generated quicksort find a large number of N/4 and N/2, and displays the time.
shuangseqiu
- 使用C语言生成随机数源程序,至上传了c文件,大家有兴趣可以下载看一看-The use of C language to generate random numbers, source
CJ
- 此程序利用随机数,模拟彩票,生成中奖号码,对随机数的简单练习-This procedure using the random number, the analog lottery generates winning numbers, the random numbers simple exercise
poisson
- 文件生成了服从泊松分布的随机数,代码中没有使用库函数-File to generate a random number of the Poisson distribution, the code does not use the library functions