#10897. 货币系统
货币系统
Description
给你一个n种面值的货币系统,求组成面值为m的货币有多少种方案。
## Input Format
第一行为n和m。
## Output Format
一行,方案数。
```input1 3 10 //3种面值组成面值为10的方案 1 //面值1 2 //面值2 5 //面值5
```output1
10 //有10种方案
给你一个n种面值的货币系统,求组成面值为m的货币有多少种方案。
## Input Format
第一行为n和m。
## Output Format
一行,方案数。
```input1 3 10 //3种面值组成面值为10的方案 1 //面值1 2 //面值2 5 //面值5
```output1
10 //有10种方案
By signing up a 算道OJ universal account, you can submit code and join discussions in all online judging services provided by us.