搜索资源列表
_nankai100doc
- 请编写一个函数jsValue(int m,int k,int xx[]),该函数的功能是:将大于整数m且紧靠m的k个素数存入数组xx传回。 最后调用函数writeDat()读取10组数据,分别得出结果且把结果输出到文件out.dat中。 部分源程序存在文件prog1.c中。 例如:若输入17 5 则应输出:19,23,29,31,37。
prime
- 求任意一个整数是不是素数。采用for循环分别用改数除以它和1之间的所有数。最后给出结果。-For any prime number is an integer. Used for the cycle were divided by the number changed between it and all the number 1. Finally, the results.
chuanshuo
- 判断素数的方法:用一个数分别去除2到sqrt(这个数),如果能被整除, 则表明此数不是素数,反之是素数。-Method to determine the prime numbers: a number were removed 2 to sqrt (this number), if divisible, it indicates that this number is not prime, and vice versa is a prime number.
JAVA
- JAVA小程序 100以内全部素数 完数 P102 T16----英文字母表,希腊字母表-JAVA applet prime numbers less than 100 all finished number P102 T16---- English alphabet, Greek alphabet
C
- 常见C语言算法和源程序,包括经典算法,水仙花数,素数求解,-Common algorithm in C language source code, including the classical algorithm, the the daffodils number of primes solving,
VC
- 求整数n的各位数字之和,并判断n是几位数,以及判断是否为素数,求最大公约数,求阶乘,多种排序方法,以及数组转置的方法-Digits and integer n and n and determine the numbers that judgment is a prime number, and the greatest common divisor, factorial, and a variety of sorting methods, as well as the array transp
CDebug
- 求100000以内满足素数因子的平方和为原数的数-Seeking to meet the prime factor less than 100,000 square of the number and the number of the original
Prime
- 判断101-200之间有多少个素数,并输出所有素数。 1.程序分析:判断素数的方法:用一个数分别去除2到sqrt(这个数),如果能被整除, 则表明此数不是素数,反之是素数。 -Discrimination of prime numbers
Estimation-of-Fractal-Dimensions
- 利用MATLAB 的图像处理和数值计算功能,对大气可吸入颗粒物的场发射电镜 (FESEM)图像进行处理,得到颗粒物边界的二值图像;编制MATLAB程序,统计一系列以不同 像素数量为边长的正方形块覆盖二值图像时的个数,根据像素数量和正方形块个数之间的关系, 确定图像的计盒维数。结果表明:MATLAB对分形图像的处理简单、方便,通过科赫曲线、谢宾 斯基填料等有规分形图形分形维数的计算表明该方法计算出的结果准确、可靠。对大气颗粒物的 分形维数的计算表明,不同不规则程度的颗粒物有不同
The-prime-is-stored
- 请编写函数fun,函数的功能是:将大于形参m的且紧靠m的k个素数存入XX所指的数组中。-Please write a function fun, function function is: greater than the parameter m and m close to the k prime numbers into an array XX referred to in.
zhaomayabng
- 计算素数的个数并挑选出矩阵中满足序号为素数的数(Calculate the number of prime numbers and pick out the number in the matrix that satisfies the ordinal number)
最新JAVA编程题全集(50题及答案)
- 编程题合集,题目1:古典问题:有一对兔子,从出生后第3个月起每个月都生一对兔子,小兔子长到第三个月后每个月又生一对兔子,假如兔子都不死,问每个月的兔子总数为多少????题目2:判断101-200之间有多少个素数,并输出所有素数。 程序分析:判断素数的方法:用一个数分别去除2到sqrt(这个数),如果能被整除, 则表明此数不是素数,反之是素数。(Java of university classes)