Preparing NOJ

Least Common Multiple

1000ms 65536K

Description:

Given A and B. Find the least positive M which is a common multiple of both A and B.

Input:

Two positive integers A and B (A,B <= 10000).

Output:

One integer M.

Sample Input:

8 12

Sample Output:

24

Info

NOIOPEN

Provider NOIOPEN

Origin 简单英文题

Code NOIOPJENGLISH09

Tags

Submitted 0

Passed 0

AC Rate 0%

Date 08/15/2021 18:56:21

Related

Nothing Yet