-
VC 自动关闭对话框类-VS2008
本程序基于VC2008,通过虚构一父窗口,将MessageBox设为其子窗口,利用SetTimer()函数实现对MessageBox(),在设定的时间自动关闭。
- 2022-05-27 19:26:12下载
- 积分: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
-
一个高手写的FFT的PPT 需要的来
一个高手写的FFT的PPT 需要的来-Written by a master of the FFT needs to PPT
- 2022-08-15 11:39:15下载
- 积分:1
-
用于科学计算的Fortran 90算法源程序
用于科学计算的Fortran 90算法源程序-for scientific computation algorithm source Fortran 90
- 2022-07-21 07:38:54下载
- 积分:1
-
基于前面上传的变系数的椭圆型方程的例子,来加入移动网格的模块,使得网格能够更加集中于数值解中的弱间断的位置。这个移动网格模块的算法,整个网格的边界和内部将会耦...
基于前面上传的变系数的椭圆型方程的例子,来加入移动网格的模块,使得网格能够更加集中于数值解中的弱间断的位置。这个移动网格模块的算法,整个网格的边界和内部将会耦 合移动,因此,在区域的不同边界上,需要使 用不同的材料标识才能使得程序对每个不同的 边界上的信息加以区分。-Based on the previous upload of the variable coefficient elliptic equations example, to join the moving mesh module, the grid will be more focused on the numerical solution of a weak intermittent position. The moving mesh algorithm module, the entire grid will be the coupling of internal borders and movement, therefore, different from the border region, the need to use different materials in order to make identification procedures for each different borders to distinguish between the information.
- 2022-01-31 22:15:15下载
- 积分:1
-
acm换钱的算法,主要检查货币的度量衡是否可以用贪心法
acm换钱的算法,主要检查货币的度量衡是否可以用贪心法-acm exchange algorithms, the main currency of the Weights and Measures to check whether the greedy method can be used
- 2023-01-06 12:45:03下载
- 积分:1
-
LDPC 仿真代码
1. 根据度分布生产LDPC校验矩阵H;
2. 生产LDPC编码矩阵G;
3. 在高斯信道下进行仿真;
4. 可进行不同译码算法对比。
完整的C++工程文件,方便 对LDPC码进行系统的仿真分析。
- 2022-01-28 09:57:50下载
- 积分:1
-
这里实现了一个最优化控制的算法,牛顿梯度法的源代码,运行于matlab平台下。...
这里实现了一个最优化控制的算法,牛顿梯度法的源代码,运行于matlab平台下。-here to achieve optimization of a control algorithm, Newton gradient of the source code, which runs on Matlab platforms.
- 2023-04-08 23:35:04下载
- 积分:1
-
计算器
计算器- Calculator
- 2023-09-06 08:35:03下载
- 积分:1
-
compiler principles of regular
编译原理中的正则式匹配算法-compiler principles of regular-matching algorithm
- 2022-02-24 20:36:43下载
- 积分:1