#A. 练86.3 货币系统

    Type: RemoteJudge 1000ms 128MiB

练86.3 货币系统

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.

说明

给你一个nn种面值的货币系统,求组成面值为mm的货币有多少种方案。

输入格式

第一行为nnmm (n10000,m10000n\leq 10000,m\leq10000)。

输出格式

一行,方案数。

样例

3 10        
1           
2           
5           
10          

提高班国庆测试Day03-第一场

Not Attended
Status
Done
Rule
OI
Problem
3
Start at
2023-10-4 8:00
End at
2023-10-4 9:45
Duration
1.8 hour(s)
Host
Partic.
10