Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
怎么就不对呢下面思路有问题吗? 用ip[i]表示支付i元时的最小硬币数, 用如下的递归式: ip[i + iv] = min{ ip[i + iv], ip[i] + 1} 其中ip[i]存在,并且面值为iv的硬币个数>=1. AC的朋友,帮忙看看有什么没注意到的。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator