厉害厉害!第二题dp[1][1] = Math.min(dp[0][0], dp[1][0]) + arr[1];这里是不是要改成 dp[1][1] = Math.min(dp[0][0], dp[0][1]) + arr[1];虽然结果没有影响