是 `dp[i]=max(dp[i],dp[i-1])` 越界导致的奇怪错误。 by yinhee @ 2023-12-01 16:36:05
@[yinhee](/user/578590) 谢神犇指点 此贴结 by Klein_Fish @ 2023-12-02 14:12:35