3064 最小公倍数


Submit solution

Points: 10
Time limit: 2.0s
Memory limit: 256K

Problem types
Allowed languages
C, C++, Java, Python

描述

给出两个正整数a,b(1<=a,b<=10^100),求这两个数的最小公倍数。

格式

输入格式

仅一行,包含两个正整数a和b, 中间以一个空格隔开

输出格式

仅包含一行,为a和b的最小公倍数lcm(a,b)

样例1

样例输入1

123 321

样例输出1

13161

限制

各个测试点1s

来源

hw_031045


Comments

There are no comments at the moment.