最小公倍数核心算法记录

int m,n,t;
scanf("%d%d",&m,&n);
while(m%n!=0)
{
    t=m%n;
    m=n;
    n=t;
}
原文地址:https://www.cnblogs.com/wenbo4399/p/8568317.html