def gcd(a: Int, b: Int): Int = if (b == 0) a else gcd(b, a % b)
本文标题:最大公约数(greatest common divisor)
本文链接:https://www.haomeiwen.com/subject/lmltmttx.html
网友评论