-
木翼下载系统
木翼下载系统-my download ..................................
- 2022-04-01 05:16:56下载
- 积分:1
-
2004memory.rar
2004memory.rar
- 2022-01-27 18:08:05下载
- 积分: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
-
c语言代码源程序c language code source
c语言代码源程序c language code source-c language code source c language code source
- 2022-07-03 22:18:42下载
- 积分:1
-
maze of algorithm (priority superior breadth and depth of talents
迷宫问题的算法(优于广度优先,深度优-maze of algorithm (priority superior breadth and depth of talents
- 2023-08-08 07:35:03下载
- 积分:1
-
右前门控制器 可以用 codewarrior 3.0 版本打开后,下载到目标板中运行...
右前门控制器 可以用 codewarrior 3.0 版本打开后,下载到目标板中运行-Right Front Door codewarrior 3.0 version of the controller can be opened, downloaded to the target board to run
- 2022-09-26 09:45:02下载
- 积分:1
-
DSP学习的好教材
DSP学习的好教材-Good material for learning DSP
- 2022-03-26 01:12:27下载
- 积分:1
-
74AC163
计数器 数据参考表
74AC163
计数器 数据参考表-74AC163 Datasheet
- 2022-07-21 16:19:37下载
- 积分:1
-
用C编写设备驱动程序的示例
用C编写设备驱动程序的示例-C device drivers example
- 2022-02-14 16:37:06下载
- 积分:1
-
用VB编写的关机控件
用VB编写的关机控件-VB prepared by the shutdown controls
- 2022-03-25 07:38:37下载
- 积分:1