4 lines
72 B
Swift
4 lines
72 B
Swift
|
|
func lcm(a:Int, b:Int) -> Int {
|
||
|
|
return abs(a * b) / gcd_rec(a, b)
|
||
|
|
}
|