主函数的"an=max(an,ans),vis_dp[i][j]=1,dp[i][j]=ans;" 放到第一个for循环 by Xy110319 @ 2024-04-12 15:28:08
再把清零vis去掉 by Xy110319 @ 2024-04-12 15:29:00