| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 87177 | 丁俊杰 | 最大公约数和最小公倍数 | Python3 | Wrong Answer | 36 MS | 3760 KB | 217 | 2024-08-04 16:03:02 |
import math def max_gongyueshu(a,b): return math.gcd(a,b) def min_gongbeishu(a,b): return math.lcm(a,b) a,b=map(int,input().split()) print(max_gongyueshu(a,b),end=" ") print(min_gongbeishu(a,b))
------Input------
2004 2096
------Answer-----
4 1050096
------Your output-----
4