public static void main(String[] args) {
        int x, y, temp;
        int a[] = { 12, 60, 160, 64, 80 };
        temp = a[0];
        for (int i = 0; i < a.length - 1; i++) {
            x = temp;
            y = a[i + 1];
            temp = gcd(x, y);
        }
        LOGGER.info(String.valueOf(temp));
    }
@author <a href="mailto:zhanggeng.zg@antfin.com">GengZhang</a>
core-impl/client/src/test/java/com/alipay/sofa/rpc/client/lb/RoundRobinLoadBalancerTest.java