练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.
说明
给你一个种面值的货币系统,求组成面值为的货币有多少种方案。
输入格式
第一行为和 ()。
接下来 行,每行一个整数 ,表示第 种 货币的面值。
输出格式
一行,方案数。
样例
3 10
1
2
5 10
3月第四周昆十中教研
- Status
- Done
- Problem
- 11
- Open Since
- 2025-11-15 0:00
- Deadline
- 2026-4-11 23:59
- Extension
- 24 hour(s)