"""
P4057 [Code+#1]晨跑(python3实现)
https://www.luogu.com.cn/problem/P4057
"""
def gcd(x,y):
if y==0:
return x
else:
return gcd(y,x%y)
x,y,z=list( map(int,input().split() ) )
ans01=x*y//gcd(x,y)
ans=ans01*z//gcd(ans01,z)
print(ans)
P4057 [Code+#1]晨跑(python3实现)
最新推荐文章于 2024-08-14 11:22:43 发布