题目来源:http://noi.openjudge.cn/ch0206/7113/
7113: Charm Bracelet
总时间限制: 1000ms 内存限制: 65536kB
描述
Bessie has gone to the mall'sjewelry store and spies a charm bracelet. Of course, she'd like to fill it withthe best charms possible from the N(1≤ N≤ 3,402) availablecharms. Each charm iinthe supplied list has a weight Wi(1≤ Wi≤ 400),a 'desirability' factor Di(1≤ Di≤ 100),and can be used at most once. Bessie can only support a charm brace