This problem is in Contest(s) below:
Contest 1513:动态规划—背包问题
Contest 1957:动态规划背包问题
Contest 2222:动态规划的背包问题2022
Contest 1248:动态规划—背包问题