AO. 练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

输出格式

一行,方案数。

样例

3 10        //3种面值组成面值为10的方案
1           //面值1
2           //面值2
5           //面值5
10          //有10种方案

2025年夏令营新人班【查】7

Not Claimed
Status
Done
Problem
41
Open Since
2025-7-12 0:00
Deadline
2025-8-20 23:59
Extension
24 hour(s)