2016年8月12日

Greatest common divisor(gcd)

摘要: 欧几里得算法求最大公约数 If A = 0 then GCD(A,B)=B, since the GCD(0,B)=B, and we can stop. If B = 0 then GCD(A,B)=A, since the GCD(A,0)=A, and we can stop. Write A 阅读全文

posted @ 2016-08-12 05:04 klitech 阅读(308) 评论(0) 推荐(0)

导航