#P6205. [USACO06JAN] Dollar Dayz S
[USACO06JAN] Dollar Dayz S
Problem Description
FJ goes to the mall to buy tools. There are kinds of tools in the mall (), with prices yuan. FJ has yuan () and must spend it all. How many different purchasing plans does he have?
Input Format
One line with two integers .
Output Format
Output the number of different purchasing plans.
5 3
5
Hint
Translated by ChatGPT 5