提交 981451ec 编写于 作者: Bella_Notte's avatar Bella_Notte

Update C

上级
#include<stdio.h>
int main()
{
int a = 0;
int b = 0;
scanf("%d %d",&a,&b);
for(i = 0;;i++)
{
if(i*a%b == 0)
{
printf("%d\n",i*a);
break;
}
}
return 0;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册