#P1255. Special Week With Factors
Special Week With Factors
题目描述
Now, Special Week are doing some problems with factors. And here comes one problem difficult to her, which she needs you to help her solve it out.
The problem is:
Given you two positive integers and find the number of different cases which satisfies the condition: where is any positive integer. For example, if and we can find cases to satisfy the cases which is listed below:
输入格式
One line with two positive integers .
输出格式
One positive integer the answer.
样例
2021041820210418 3
2430
2021041820210418 4
20480
4444444444444444 4
40960