上升时的状态转移方程为什么是
dp[i][j] = min(dp[i-1][j-x[i]]+1, dp[i][j-x[i]]+1);
而非
dp[i][j] = min(dp[i-1][j-x[i-1]]+1, dp[i][j-x[i]]+1);
希望有dalao教我一下