来源:https://stackoverflow.com/questions/19055840/finding-out-the-maximum-number-if-cost-is-associated-with-using-each-digit 标签 algorithm dynamic-programming memoization knapsack-problem greedy