文件名称:gsghgse
介绍说明--下载内容来自于网络,使用问题请自行百度
多约数问题
正整数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
输入数据的第1 行有2 个正整数a和b。
Output -More than a few issues about some positive integer x can be divisible by x number of positive integer. Some positive integer x the number recorded as the number of div (x). For example, 1,2,5,10 are about 10 positive integer number, and div (10) = 4. For a and b are two positive integers, a ≤ b, find a and b between the number of up to about a few of the number of x. Programming tasks: For a given two positive integers a ≤ b, calculated between a and b about the number of the largest number of number. Input input data line 1 are two positive integers a and b. Output
正整数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
输入数据的第1 行有2 个正整数a和b。
Output -More than a few issues about some positive integer x can be divisible by x number of positive integer. Some positive integer x the number recorded as the number of div (x). For example, 1,2,5,10 are about 10 positive integer number, and div (10) = 4. For a and b are two positive integers, a ≤ b, find a and b between the number of up to about a few of the number of x. Programming tasks: For a given two positive integers a ≤ b, calculated between a and b about the number of the largest number of number. Input input data line 1 are two positive integers a and b. Output
(系统自动生成,下载前可以参看下载内容)
下载文件列表
gsghgse.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.