-
简单的实现了数论中的乘法逆元
该代码均正确运行!包含运行图
及运行结果!...
简单的实现了数论中的乘法逆元
该代码均正确运行!包含运行图
及运行结果!-simple realization of the theory of multiplicative inverse of the code are functioning properly! Includes chart and operating results!
- 2022-07-19 07:36:38下载
- 积分:1
-
100个经典的C算法
C语言的学习要从基础开始,这里是100个经典的算法
- 2023-07-22 09:35:03下载
- 积分:1
-
电磁像机制
此代码执行的电磁像单机排序问题的机制。这雇用的随机密钥概念与中的混合算法的遗传算子以获取单个机器问题的最佳/最佳日程安排相结合。这种新办法试图实现的收敛性和多样性的影响,应用时,它以迭代方式来解决问题。这种混合算法是一套的标准试验问题可用在文献中进行测试。计算结果显示此混合算法比标准遗传算法更好地执行。
- 2023-08-07 12:25:04下载
- 积分:1
-
正整数x 的约数是能整除x 的正整数。正整数x 的约数个数记为div(x)。例如,1,2,5,10 都是正整数10 的约数,且div(10)=4。设a 和b 是...
正整数x 的约数是能整除x 的正整数。正整数x 的约数个数记为div(x)。例如,1,2,5,10 都是正整数10 的约数,且div(10)=4。设a 和b 是2 个正整数,a≤b,找出a 和b之间约数个数最多的数x。
对于给定的2 个正整数a≤b,编程计算a 和b 之间约数个数最多的数。
数据输入
输入数据由文件名为input.txt的文本文件提供。文件的第1 行有2 个正整数a和b。
结果输出
程序运行结束时,若找到的a 和b 之间约数个数最多的数是x,将div(x)输出到文件output.txt中。
输入文件示例 输出文件示例
input.txt output.txt
1 36 9
-Positive integer x can be about a few of the positive integer x divisible. Positive integer x the approximate number recorded as the number of div (x). For example, 1,2,5,10 are about 10 positive integer number, and div (10) = 4. Set a and b are two positive integers, a ≤ b, to find a and b between about a few number of the largest number of x. For a given two positive integers a ≤ b, Programming calculated a and b between about a few number of the largest number. Data entry input data from the document text file named input.txt provide. File line 1 has two positive integers a and b. The results run the end of the output, if found between a and b of about a few number o
- 2023-04-13 05:20:03下载
- 积分:1
-
辛普生法求积分,也是关于数值积分的matlab程序
辛普生法求积分,也是关于数值积分的matlab程序-Simpson for Integral Health Act, as well as on the numerical integration of Matlab procedures
- 2022-02-12 21:18:58下载
- 积分:1
-
一个最基本的二维传热有限元计算程序,适合初学者参考
一个最基本的二维传热有限元计算程序,适合初学者参考-A basic two-dimensional heat transfer finite element program, suitable for beginners reference
- 2022-02-06 10:15:01下载
- 积分:1
-
tacticians of the commonly used algorithms
运筹学中常用到的算法-tacticians of the commonly used algorithms
- 2022-08-06 05:43:23下载
- 积分:1
-
快速傅立叶变换程序代码,学信号的同学,可要注意了
快速傅立叶变换程序代码,学信号的同学,可要注意了-Fast Fourier Transform code, the students learn signal, I must remind the
- 2022-06-20 14:28:51下载
- 积分:1
-
用C++实现的多个算法,包括迭代
用C++实现的多个算法,包括迭代-C achieved a number of algorithms, including iterative
- 2022-01-25 14:57:06下载
- 积分:1
-
- 2022-04-26 09:25:16下载
- 积分:1