Preparing NOJ

Divisor and Multiple

1000ms 65536K

Description:

Given D and M. D is the divisor of both A and B, while M is the multiple of both A and B. Find A and B.

Input:

Two positive integer D and M (D,M <= 100).

Output:

Two integers A and B.

Sample Input:

3 18

Sample Output:

6 9

Info

NOIOPEN

Provider NOIOPEN

Origin 简单英文题

Code NOIOPJENGLISH24

Tags

Submitted 0

Passed 0

AC Rate 0%

Date 08/15/2021 18:56:24

Related

Nothing Yet