-
you please enlighten!
大家请多指教-you please enlighten!
- 2022-03-03 11:24:30下载
- 积分:1
-
随机微分方程的求解现在是一个挑战性课题,这里给出一个外国人编写的关于随机微分方程的求解的工具箱,希望能帮助各位同行,同时有问题一起讨论。...
随机微分方程的求解现在是一个挑战性课题,这里给出一个外国人编写的关于随机微分方程的求解的工具箱,希望能帮助各位同行,同时有问题一起讨论。-Solution of stochastic differential equation is a challenging task, where a foreigner is given on the preparation of the solution of stochastic differential equation toolbox, hope to help you peer at the same time there are problems to discuss.
- 2023-09-07 21:00:05下载
- 积分:1
-
KMP、BM编码算法实现
KMP、BM算法的自我实现,对学习KMP、BM算法有一定帮助!有助于学习压缩解压缩。详细请看源码!(读文件的形式,并比较两者的性能)
- 2022-08-18 12:52:24下载
- 积分:1
-
is "commonly used computer numerical algorithms and procedures C version,&q...
是《计算机常用数值计算算法与程序 C++版》一书的配套代码,每个源程序文件的文件扩展名都使用.cpp形式。这些C++程序已经在微软公司Windows 平台下的Virsual C++ 6.0环境下通过-is "commonly used computer numerical algorithms and procedures C version," a book supporting code, each source document file extensions are used. Cpp form. These procedures have been in C Microsoft Windows platform under the Virsual C 6.0 environment through
- 2023-03-01 22:00: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的约束非线性规划算法库,适于学习!-Matlab-based algorithm for the constrained nonlinear programming library, suitable for learning!
- 2022-04-12 20:56:36下载
- 积分:1
-
任意精度计算的实现
任意精度计算的实现-arbitrary accuracy, the realization
- 2022-08-24 02:11:43下载
- 积分:1
-
一个使用遗传算法实现桥梁的最优化维护的代码
一个使用遗传算法实现桥梁的最优化维护的代码-A use of genetic algorithm to optimize the maintenance of the bridge code
- 2023-02-26 04:25:03下载
- 积分:1
-
LZ77算法的原代码
信息论是通信专业的基础课程,这里讲述了很多算法,用于信息编码,lz77是其中一种。这是lz77的c编码。
- 2023-05-13 10:20:03下载
- 积分:1
-
马踏棋盘
贪心加回溯,按照顺时针顺序,每次产生一个新的路点,并验证此路点的可用性,需要考虑的问题包括是否超出棋盘和此点已经走过与否。如新路点可用,则入栈,并执行下一步,每次按照上一路点的位置生成新路点。如一个路点的可扩展路点数为0,则走不下去了,进行回溯。
- 2023-09-01 02:05:03下载
- 积分:1