导航

gcd 模板

Posted on 2015-10-11 20:33  tun~  阅读(206)  评论(0编辑  收藏  举报
int gcd(int a,int b)
{
    return b==0?a:gcd(b,a%b);
}