最大公约数和最小公倍数问题
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
说明
输入两个正整数,,求出满足下列条件的,的个数:
1.,是正整数。
2.要求,以为最大公约数,以为最小公倍数。
试求:满足条件的所有可能的,的个数。
输入格式
一行两个正整数,。
输出格式
—行一个数,表示求出满足条件的,的个数。
样例
3 604
黑猫白银级公开赛04
- Status
- Done
- Rule
- OI
- Problem
- 4
- Start at
- 2024-2-16 16:00
- End at
- 2024-2-25 0:00
- Duration
- 200 hour(s)
- Host
- Partic.
- 10