Submit solution

Points: 1500 (partial)
Time limit: 1.0s
Memory limit: 256M
Input: ndivab.inp
Output: ndivab.out

Problem type

Cho 2 số nguyên dương a,b(1\le a,b\le 10^{14}). Hãy đếm số lượng ước nguyên dương của tích a.b.

Input(Bàn phím):
Gồm 2 dòng là 2 số nguyên dương a,b.

Output(Màn hình):
Số lượng ước nguyên dương của tích a.b\ mod\ (10^9+7)

Ví dụ:

Standard Input:

 3
 4

Standard Output:

 6

Comments

There are no comments at the moment.