SCUACM2018 Summer Training Final Examination

F: 动态规划之完全背包2