. He wants to pick some items whose sum of weights does not exceed m, and maximize the sum of values.
Bobo has n items, where the i-th item has weight w_i w i and value v_i v i . He wants to pick some items whose sum of weights does not exceed m, and maximize the sum of values.
(图片来源网络,侵删)