题目链接:POJ 1742 Coins E. Coins People in Silverland use coins.They have coins of value A1,A2,A3...An Silverland dollar.One day Tony opened his money-box and found there were some coins.He decided
题目大意: 题目链接:http://poj.org/problem?id=1742 有 n n n种面值不同的硬币,每种有 c [ i ] c[i] c[i]个。求1到 m m m有多少面值可以用这些硬币凑成? 思路: 很明显的完全背包。。。 前面 W A , T L E , R E , C E WA,TLE,RE,CE WA,TLE,RE,CE全是用二进制拆分做的。。。后来实在没