题解 | #求最小公倍数#
求最小公倍数
https://www.nowcoder.com/practice/22948c2cad484e0291350abad86136c3
import math a, b = map(int, input().split()) ans = math.lcm(a,b) print(int(ans))
人生苦短,我用python。
求最小公倍数
https://www.nowcoder.com/practice/22948c2cad484e0291350abad86136c3
import math a, b = map(int, input().split()) ans = math.lcm(a,b) print(int(ans))
人生苦短,我用python。
相关推荐