搜索资源列表
素数幻方
- 求四阶的素数幻方。即在一个4X4 的矩阵中,每一个格填 入一个数字,使每一行、每一列和两条对角线上的4 个数字所组成的四位数,均为可逆素数。 -for four bands in several magic squares. In a 4x4 matrix, each one filled a digital grid so that each line, each diagonal out and two on the four
vbkey
- 基于vb的加解密程序,也可用于数字签名,求素数等-on the encryption and decryption procedures, can also be used for digital signatures, and so on-demand
sushuhesj
- 用C编写的求素数和时间的程序,希望能对大家都有点用处-C-prepared for a few hours and procedures, we hope to have a bit of usefulness
zl_5
- Eratosthenes筛法求素数 -Eratosthenes'sieve Method Primes
primenumber
- 求素数
shushu
- 求素数的程序,用了一些标准库.不难,但很有用-Prime number for the procedure, using a number of standard library. It is not difficult, but very useful
sushuhesj
- 用C编写的求素数和时间的程序,希望能对大家都有点用处-C-prepared for a few hours and procedures, we hope to have a bit of usefulness
panduansushu
- 题目:判断101-200之间有多少个素数,并输出所有素数。 1.程序分析:判断素数的方法:用一个数分别去除2到sqrt(这个数),如果能被整除, 则表明此数不是素数,反之是素数。-Title: between 101-200 to determine the number of prime numbers, and output all prime numbers. 1. Program analysis: m
sushu
- ACM中,用筛选法求素数,效率很高的算法,希望大家喜欢-ACM, the screening method using prime numbers and efficient algorithms, hope everyone likes
sushu
- 简单的求素数,在1—50内求所有素数。比较实用。-Simple for prime numbers, in the 1-50 months for all prime numbers. More practical.
c++
- 计算任意一个多位数的位反序数; 由两个平方三位数获得三个平方二位数; 求车速; 阿姆斯特朗数; 求素数表中1~1000之间的所有素数。-Calculation of arbitrary bit more than one anti-median ordinal number by two three-digit access to three square square double-digit for speed
qiusushudapplet
- 本程序就一简单的输入上限和下限求素数程序,是applet程序,仅供参考-This procedure on a simple input upper and lower limits of the procedures for prime numbers is the applet process is for reference only
qiusushu
- 一个求素数的算法的C++实现该程序可以求出2到10000之间的所有素数 -A prime number for the algorithm C++ Realize the program can be obtained 2-10000 all the prime numbers between
primes
- 用筛法求素数的小程序。用Visual C++实现-Sieve method using prime number of small procedures. Using Visual C++ Realize
素数
- 求出一定范围内的素数,方法较为简便可以求解(Find a certain range of primes, the method is relatively simple, can be solved)
素数 平均数 最高
- 判断素数; 输入10个学生5门课的成绩,分别用函数求:①每个学生平均分;②每门课的平均分;③找出最高的分数所对应的学生和课程。(Judgment prime; Seek average and highest marks.)
1.求素数
- 用C语言编写一个求出100以内的素数的小程序。(Using C language to write a small program within 100 of the prime number.)
常用函数
- 用筛法求素数的基本思想是:把从1开始的、某一范围内的正整数从小到大顺序排列, 1不是素数,首先把它筛掉。剩下的数中选择最小的数是素数,然后去掉它的倍数。依次类推,直到筛子为空时结束。如有: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1不是素数,去掉。剩下的数中2最小,是素数,去掉2的倍数,余下的数是: 3 5
筛法求素数
- 使用筛法遍历求取素数,效率较低,有待优化(Searching for prime numbers by traversing the sieve method)
求素数matlab
- 求素数,用matlab。。。。。。。。。