-
工程中微分方程数值积分经常需要使用的Newmark法
工程中微分方程数值积分经常需要使用的Newmark法-Differential equations numerical integration project often requires the use of the Newmark method
- 2022-11-07 14:00:03下载
- 积分:1
-
multimedia, the itinerary of coding.
多媒体,中的行程编码。-multimedia, the itinerary of coding.
- 2022-03-14 22:43:20下载
- 积分: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
-
背包算法C#实现
这是一个利用C#语言编程实现的背包问题,运用了窗体,实现了求解最优值求解,装入包中的物品编号显示和最后装入包中的物品的比例
- 2022-04-07 21:03:51下载
- 积分:1
-
奇数幻方矩阵
奇数幻方矩阵
- 2022-05-23 06:06:04下载
- 积分:1
-
这时决对正确的数值转换器
这时决对正确的数值转换器-time to correct summary of numerical converter
- 2022-03-05 11:40:52下载
- 积分:1
-
Ldpc 码 2 非二进制 LDPC 码在候选
非二进制代码执行的 ldpc 码候选域上......
- 2022-02-20 19:49:21下载
- 积分:1
-
SPH无网格光滑粒子源代码
格子Boltzmann方法是最近十几年来国际上发展起来的一种流体系统建模和模拟新方法,其思路与传统的流体模拟方法完全不同,具有许多常规方法所不具有的优势。本代码采用格子Boltzmann方法模拟泊肃叶流,边界条件用平衡态外推法,
- 2022-02-07 22:14:19下载
- 积分:1
-
FFT
载波生成器+博立业算法分析器。多功能,主要用于演示。-FFT
- 2022-03-19 15:11:26下载
- 积分:1
-
蚁群算法的源代码,其中详细的实现过程…
蚁群算法的源代码,里面有详细的实现过程,有很好的参考价值-Ant colony algorithm source code, which the realization of the process in detail, have a good reference value
- 2023-01-10 08:50:03下载
- 积分:1