最小公倍数简洁代码

ll gcd(ll a,ll b)
{
    return b? gcd(b,a%b):a;
}
简洁版本的总是容易忘。。。。。放这儿容易找~~
posted @ 2015-11-03 18:35  martinue  阅读(407)  评论(1)    收藏  举报