📜  gcd multi num - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:11.586000             🧑  作者: Mango

代码示例1
int result = a[0];

for (int i = 1; i < a.Length; ++i)
    result = gcd(result, a[i]);