Description
Input
Output
Sample Input
10 14
Sample Output
70
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include<cstdio>
int max(int a,int b)
{
if(a%b==0)
return b;
else
return max(b,(a%b));
}
int min(int a,int b)
{
return a*b/max(a,b);
}
int main()
{
int a,b,t;
while(scanf("%d%d",&a,&b)!=EOF)
{
t=min(a,b);
printf("%d\n",t);
}
return 0;
}
1028




被折叠的 条评论
为什么被折叠?



