最大公因数(辗转相除法)

int gys(int m, int n){
    return n == 0 ? m : gys(n, m % n);
}
原文地址:https://www.cnblogs.com/coodyz/p/10596889.html