-
快速排序法与随机 pivote 和 c + + 源代码
快速排序是一种分而治之算法。快速排序将大表分成两个更小的子列表:低和高的元素的元素。快速排序可以递归的子列表排序。步骤:选择一个
- 2022-02-26 20:33:39下载
- 积分:1
-
aes算法c(c++)_支持128、192和256位密钥
AES.h
#pragma once
class AES
{
public:
typedef enum ENUM_KeySize_
{
BIT128 = 0,
BIT192,
BIT256
}ENUM_KEYSIZE;
public:
AES( ENUM_KEYSIZE keysize, BYTE *key );
请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-08-11 07:18:24下载
- 积分: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内部调用程序的按照高斯消元法本身原理来编写。-Do not use matlab within the procedure call in accordance with the Gauss elimination principle to the preparation of their own.
- 2022-01-25 14:26:45下载
- 积分:1
-
代数方程
代数方程-Algebraic equations
- 2022-01-25 15:28:21下载
- 积分:1
-
函数连分式的计算
函数连分式的计算-function even fractional calculation
- 2022-07-14 04:06:31下载
- 积分:1
-
ids classification algorithms csharp
ids classification algorithms csharp-ids classification algorithms csharp
- 2022-03-18 23:19:29下载
- 积分:1
-
这是硕士生计算机软件专业组合数学的一个优化算法演示,仅供参考。...
这是硕士生计算机软件专业组合数学的一个优化算法演示,仅供参考。-This is the master computer software professional combination of a mathematical algorithm optimization demonstration purposes only.
- 2023-06-20 22:15:03下载
- 积分:1
-
隐马尔可夫工具箱,matlab试用,简单易学,方便快捷
隐马尔可夫工具箱,matlab试用,简单易学,方便快捷-Hidden Markov toolbox, matlab trial, easy to learn, convenient and quick
- 2023-08-24 15:35:04下载
- 积分:1
-
简单快速的肤色检测程序
根据K-L变化对肤色的椭圆区域YUV颜色空间对摄像头采集的图像进行肤色提取,简易而快速的算法,适合在不同的光照背景之下。
- 2022-04-07 20:46:45下载
- 积分:1