-
Java生成汉诺塔图表-河内塔的例子
Java生成汉诺塔图表-又翻译为“河内塔”的例子,总之就是那一类图标吧,在Java数据统计中应用广泛,这个例子简单,就一个Java代码,易于理解学习汉诺塔的生成,最终生成的效果如演示截图所示。
- 2022-03-18 22:00:58下载
- 积分:1
-
Find prime numbers prepared by screening the function: void sieve (bool isPrime...
编写筛选查找素数函数:
void sieve(bool isPrime[], int n)
其中isPrime[ ]为一个布尔型数组,n为数组大小。由于2是第一个素数,
所以设置isPrime[0]和isPrime[1]的值为false,并设置其余的元素初值为true。
然后对从4到n-1的每一个i,判断i是否能够被2整除,如果i能够被2整除,则设置isPrime[i]为false。
对从2到n/2的每一个可能的数值重复以上处理,当操作结束时,所有值为true的isPrime[i]所对应的i就是素数,它们将是从筛子中掉下来的。-Find prime numbers prepared by screening the function: void sieve (bool isPrime [], int n) which isPrime [] as a Boolean array, n is the size of the array. Because 2 is the first prime number, so set the isPrime [0], and isPrime [1] a value of false, and set the initial value of the remaining elements of true. And then from 4 to n-1 for each i, to determine whether i can be divisible by 2, if i can be divisible by 2, then set the isPrime [i] is false. From 2 to n/2 possible values for each one to repeat the above processing, when the operation ended, all the true value of the isPrime [i] corresponding to i is a prime number, they will be falling from the sieve in the past.
- 2023-03-02 04:45:03下载
- 积分:1
-
ieee 9-bus
IT IS IEEE 9 BUS TEST SYSTEM FOR DIGSILENT
- 2018-09-21 20:28:41下载
- 积分:1
-
jquery带对话框提示图片相册
带对话框提示图片相册是一款带对话框提示,鼠标点击一张张相册图片放大查(Photo album with dialog box prompt is a photo album with dialog box prompt. Click on one photo album by mouse to enlarge it.)
- 2019-03-18 15:04:58下载
- 积分:1
-
内有红外收发的子程序,收和发是分开的。已经调试过,非常好用,有效的距离可达3米多...
内有红外收发的子程序,收和发是分开的。已经调试过,非常好用,有效的距离可达3米多-There are infrared transceiver of the subroutine, to close and fat are separated. Have been debug, and very easy to use and effective range of up to 3 meters
- 2023-03-31 08:55:03下载
- 积分:1
-
Demo 17.5.30
qt 实现一些小功能 比如采集温湿度,控制直流 步进电机,光照传感器等(QT to achieve some small functions, such as temperature and humidity acquisition, control DC stepper motor, light sensor, etc.)
- 2017-11-02 00:10:05下载
- 积分:1
-
camcly
ABAQUS二次开发子程序UMAT下,采用FORTRAN编程的修正剑桥模型(Modified Cambridge model using FORTRAN programming under ABAQUS two development subroutine UMAT)
- 2018-06-27 12:17:11下载
- 积分:1
-
granularity.Designer
说明: 实现地图加载保存放大缩小全图,以及要素属性框选查询功能(Realize the function of loading, saving, enlarging and reducing the whole map, as well as the function of checking and inquiring the attributes of elements)
- 2020-06-25 11:00:01下载
- 积分:1
-
yanliru
关于信号与系统的答案,可以帮助同学们更好的学习信号与系统(Answer random signal, can help students better learning with the signal)
- 2012-12-30 10:37:02下载
- 积分:1
-
LLK
连连看寻路算法,防死锁算法,选择重排算法等等。(LLK most algorithm )
- 2011-06-29 01:40:55下载
- 积分:1