#P9127. Backpack

Backpack

Source: Super League of Chinese College Students Algorithm Design 2022, Contest 1 by HDU.