|시간 제한||메모리 제한||제출||정답||맞은 사람||정답 비율|
|2 초||512 MB||39||24||20||62.500%|
The integer A is multiple of B if we can multiply B by some integer number bigger than 0 we get A.
We call the lowest common multiple of A and B to the the smallest positive integer C that is a multiple of both A and B.
Your task is to write a program that computes the lowest common multiple of 2 numbers.
A single line containing 2 integers A and B separated by one space.
In 50% of the test cases, the number A and B will be less than 1000 (103). In the other 50% of the test cases, the numbers A and B may be bigger than 1000 but smaller than 100000000 (108).
Note: For the larger test cases you’ll need to declare your variables as 64 bits integers. Use long long int in C/C++ and long in Java.
Print a single line containing an integer, the lowest common multiple of A and B.