Codeforces Round #214 (Div. 2) C. Dima and Salad (背包变形)
C.DimaandSaladtimelimitpertest1secondmemorylimitpertest256megabytesinputstandardinputoutputstandardoutputDima,InnaandSeryozhahavegatheredinaroom.That'sright,someone'sgottogo.TocheerSeryozhaupandinspir