-
该算法简单、实用的基础上,该算法可以实现…
一个简单实用的进制转换算法,该算法能实现二、八、十、十六进制的相互转化。-a simple and practical base for the conversion algorithm, the algorithm can achieve 2, 8, 10, hexadecimal the mutual conversion.
- 2022-03-04 01:49:46下载
- 积分: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
-
六自由度工业机器人直线轨迹插补算法源码
六自由度工业机器人直线轨迹插补算法源码,对于从工件生成的离散路径点,可通过该程序进行直线拟合以及
相应路径更精确插补,精插补点间隔(插补步长)可自行设置。
- 2022-05-07 22:15:51下载
- 积分:1
-
箱子,C++,《数据结构与算法》
箱子,根据《数据结构与算法》这本书做的对应的源代码,可实现,本人制作的。
- 2023-08-19 02:15:03下载
- 积分:1
-
这是常用的数字,很有用的啊,建议大家学习
这个是常用的数字计算,非常有用的啊,建议大家学习学习-This is commonly used figures, ah very useful, it is recommended everyone learn
- 2023-05-12 15:45:03下载
- 积分:1
-
本程序适用于求解形如f(x)=1/2*x Ax+bx+c二次函数的稳定点
本程序适用于求解形如f(x)=1/2*x Ax+bx+c二次函数的稳定点
-this procedure applies to solution of the form f (x) = 1/2* x" Ax+ bx+ c quadratic function of the stable point
- 2022-05-28 10:55:39下载
- 积分:1
-
PCA用来降维的MATLAB代码,给出了程序
PCA用来降维的MATLAB代码,给出了程序,给出了具体算法的思想和过程,成功地运用于相关性的去除保留样本信息,实现样本空间的降维和去相关性
- 2023-07-07 07:00:03下载
- 积分:1
-
数值计算的稳定性也很好,同时也非常精确。
作为数值计算中稳定性很好的,同时求解激波很准确的求解格式-The stability of numerical calculation as well, at the same time very accurate solution of shock wave solving format
- 2022-01-26 05:18:15下载
- 积分:1
-
二进制搜索
源代码和越南船民和 frm 如何用算法二进制搜索搜索的数组中。它是有用的培训和学习 vb 二进制搜索
- 2022-02-18 13:44:44下载
- 积分:1
-
是有关acm一道试题的解答方式飞拉开市解放路开始减肥
是有关acm一道试题的解答方式飞拉开市解放路开始减肥-Acm together is the way to answer the questions started to fly the city began to lose weight Jiefang
- 2023-07-21 13:35:03下载
- 积分:1