辗转相除法求最大公约数
super
2021-08-26 18:10
2518
$a = 417;
$b = 396;
while ($b != 0) {
$c = $a % $b;
$a = $b;
$b = $c;
}
print_r($a);
0 条讨论