摘要: 1. 三种方法求最大公约数1、连续整数检测法.此算法比较简单:/** * greatest common divisor * * @param int $a * @param int $b */function gcd($a, $b){ $t = $a> $b ?$b :$a; wh... 阅读全文
posted @ 2012-12-24 19:59 夏至冬末 阅读(161) 评论(0) 推荐(0) 编辑