6105 - 例9.11 01背包问题
时间限制 : 1 秒
内存限制 : 128 MB

输入

输出

样例
输入
10 4 2 1 3 3 4 5 7 9
输出
12
来源
一本通