-
运筹学中经典的跟随
运筹学最经典的解决后续问题的算法-tacticians classic follow-up to resolve the issue of the algorithm
- 2022-05-22 18:56:47下载
- 积分: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
-
UpNEt3000开发板光盘,谢谢博创和网友们
UpNEt3000开发板光盘,谢谢博创和网友们-CD UpNEt3000 Development Board, I would like to thank Mr. Chong and net surfers
- 2022-05-06 05:09:03下载
- 积分:1
-
用于专业的应用,对于处学者是个不错的选择.可以下载的,好东西...
用于专业的应用,对于处学者是个不错的选择.可以下载的,好东西-For professional applications, the Department scholars is a good choice. Can be downloaded, and good things
- 2022-04-18 16:09:03下载
- 积分:1
-
二维三角网讲稿,详细讲解如何生成三角网及其主要的引用
二维三角网讲稿,详细讲解如何生成三角网及其主要的引用-Two-dimensional triangulation of the script in detail on how to generate triangulation and its main reference
- 2022-02-21 16:53:00下载
- 积分:1
-
数值分析课程上机 拉格朗日插值多项式 插值多项式存在唯一性 在次数不超过N的多项式集合Hn中 满足条件的插值多项式Ln(x)^Hn 是唯一存在的! 牛顿插值 三...
数值分析课程上机 拉格朗日插值多项式 插值多项式存在唯一性 在次数不超过N的多项式集合Hn中 满足条件的插值多项式Ln(x)^Hn 是唯一存在的! 牛顿插值 三色~-numerical analysis courses on the plane Lagrange polynomial interpolation polynomial interpolation existence and uniqueness to the number not exceeding N polynomial Hn pool to meet the conditions of polynomial interpolation Ln (x) ^ Hn is the only exists! Newton"s three color ~
- 2022-08-09 11:34:55下载
- 积分:1
-
简单的活动目录和LDAP的应用
simple active directory and LDAP utils
- 2023-07-27 07:15:03下载
- 积分:1
-
一只赛车游戏的源始码, Visual C++ 6.0或以上适用
一只赛车游戏的源始码, Visual C++ 6.0或以上适用-a racing game Source Beginning code, Visual C 6.0 or above application
- 2023-01-30 18:25:04下载
- 积分:1
-
JSON2 JS
http://www.JSON.org/json2.js
2009
JSON2 JS
http://www.JSON.org/json2.js
2009-06-29
Public Domain.
NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
See http://www.JSON.org/js.html
-JSON2 for javascript
http://www.JSON.org/json2.js
2009-06-29
Public Domain.
- 2022-06-15 06:07:41下载
- 积分:1
-
LEACH的MATLAB代码,很不错。可以直接运行。
LEACH的MATLAB代码,很不错。可以直接运行。-the code of LEACH for Matlab
- 2022-01-25 21:13:20下载
- 积分:1