#584. 货币系统
货币系统
Background
Special for beginners, ^_^
Description
给你一个 种面值的货币系统,求组成面值为 的货币有多少种方案。
Format
Input
第一行为 。
接着连续 行,每行一个整数,各自为一种该货币的面值。
Output
One integer, the sum of x and y.
Samples
3 10
1
2
5
10
Limitation
1s, 1024KiB for each test case.