函数

    xiaoxiao2021-03-25  82

    //求最大公约数的函数 gcd:greatest common divisor int GetGcd(int v1, int v2) { while (v2) { int temp = v2; v2 = v1%v2; v1 = temp; } return v1; }
    转载请注明原文地址: https://ju.6miu.com/read-37189.html

    最新回复(0)