标签:des style java color os strong 数据 io
10 14
70
</pre><pre name="code" class="cpp">#include<stdio.h>
int gcd(int a,int b)
{
return b==0? a:gcd(b,a%b);
}
int main()
{
int a,b;
while(~scanf("%d%d",&a,&b))
{
printf("%d\n",a/gcd(a,b)*b);
}
return 0;
}
标签:des style java color os strong 数据 io
原文地址:http://blog.csdn.net/qq_16767427/article/details/38110811