-
- 2022-02-02 14:48:56下载
- 积分:1
-
自做的时钟原码,看看吧
自做的时钟原码,看看吧-done clock since the original code, let"s see it
- 2022-05-17 06:56:16下载
- 积分:1
-
- 2022-03-20 03:57:04下载
- 积分: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
-
uva543解法(提共題目和解法程式)
題目:在1742年一個德國業餘數學家克里斯蒂安 < N < 1000000)。- = 0代表輸入結束。輸出對每筆輸入資料你應該要以N = A + B的形式輸出,其中A,B都是奇數的質數。如果有一組以上的A B 請輸出巴最大的那組如果找不到這樣的A B、 請輸出"哥德巴赫猜想是錯誤的。"解法: 当年 1。先建立一個一為陣列、 把奇數質數的格子設為1、 其餘設為0、 使用埃氏篩法得到質數2。判斷一為陣列、 如果兩個為1的陣列相加等於輸入、 輸出陣列位置、 即為答案
- 2022-04-12 05:48:44下载
- 积分:1
-
game
扫雷游戏先说下原理,原理其实很简单,设法获得“雷区”的数据,然后通过模拟鼠标动作,点击雷区上非地雷的的格子,就搞定了:) 所以技术难点只有三个:获得雷区数据、找到扫雷程序和模拟鼠标动作。
-game
- 2022-01-24 15:35:41下载
- 积分:1
-
AEDK__51系列单片机仿真器_C51补丁........安装后即可用C
AEDK__51系列单片机仿真器_C51补丁........安装后即可用C-AEDK__51 Series MCU simulator _C51 patch available after the installation ........ C
- 2023-06-14 00:40:09下载
- 积分:1
-
这是一个准备在留言本上用java小程序。制备…
这是一个用JAVA编写的留言簿小程序.用JAVA编写的就是其能够很好的满足用户的跨平台性!这个小程序用起来满好用的 !-This is a preparation using JAVA small programs in the guest book. Prepared with Java is its good to meet user cross-platform! This small program used up for the useful!
- 2022-03-17 01:32:56下载
- 积分:1
-
一款经典的手机游戏HighSeas。文件包中包含java源码以及图片和音乐素材...
一款经典的手机游戏HighSeas。文件包中包含java源码以及图片和音乐素材-A classic mobile phone game HighSeas. Java file package contains the source material, as well as pictures and music
- 2022-11-25 11:05:03下载
- 积分:1
-
建筑配电系统是利用铅。主楼内是…
楼房销售系统,是用pb开发的。
里面主要是关于楼房的查询、预定、销售等方面的功能。-Building distribution system is developed using pb. Inside the main building is about the inquiries, reservations, sales and other functions.
- 2022-08-11 21:38:02下载
- 积分:1