-
2维ostu 分割算法实现
查阅了一下资料,编写的二维大津法算法实现,描述了二维ostu 算法的实现,在vc++上实现,里面有具体的注释。
- 2023-02-25 06:45:03下载
- 积分: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
-
数值计算方法 列主元素法
数值计算方法 列主元素法-numerical method main-element method
- 2022-02-20 08:33:33下载
- 积分:1
-
STM32 CRC32算法
应用背景运用在STM32 CRC32模块的PC端. 用以通过应用软件与STM32进行通讯时校验,以及对Flash区数据及代码的校验.满足IEC-65535对软件安全的需求关键技术与STM32 CRC32兼容的CRC算法,可扩展成任意位数的CRC算法.
- 2022-01-26 02:20:07下载
- 积分:1
-
asdasasadddddddddddddddddddddddddddddddd
萨斯达斯
- 2022-02-01 13:08:23下载
- 积分:1
-
edma3456wewewawe
fxhgggggggggggggggggggggggggggggggggggfxtsrtsdystrrrrrrrrrrrrrrydgfbdvffdfdfgfgfgfgfhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
- 2022-12-18 15:45:03下载
- 积分:1
-
关于一些算法中如何生成新成员的选择方法,粒子群算法,遗传算法等算法可以用。...
关于一些算法中如何生成新成员的选择方法,粒子群算法,遗传算法等算法可以用。-How about some algorithm to generate a new member of the selection method, particle swarm optimization, genetic algorithms and other algorithms can be used.
- 2023-03-07 06:40:03下载
- 积分:1
-
智能循迹小车
应用背景本次智能小车设计是在全国电子设计大赛的背景下,省区选拔第一阶段,我和两名队友协作努力,一起完成整个电路的硬件设计,和算法。获得区级三等奖,成功进入国家级的初赛。关键技术本次智能小车的关键设计在于电路的选择和算法的实现。电路我采用最简单的51单片机作为MCU,对于循迹完全足够了,红外传感器既可以循迹,也可以避障。
- 2023-08-26 16:45:04下载
- 积分:1
-
运动图像检测MovingObjectDetection
VS-C# 2010下运行。其中混合高斯算法有些问题,其余两种可以实现。
- 2022-08-22 06:30:13下载
- 积分:1
-
C语言实现图书管理系统
1)能录入新商品信息2)能对商品信息进行查询: 可以按编号,按商品名称,按商品类别,按供货商,按产地进行查询3)可以对商品信息进行修改,删除4)商品销售:输入销售单,根据商品编号,读取并显示商品信息,根据销售数量,修改库存。5)可以记录销售的记录,以备查询。6)商品销售信息查询:7)统计
- 2022-02-21 21:46:26下载
- 积分:1