FishingGo

Results 2 comments of FishingGo

> I using a hack. I added a config to set the code as GIT_EDITOR and I'm creating the commit from the embedded terminal: > > ```js > "terminal.integrated.env.osx": {...

" 这里需要特别注意一下dp,在for循环中,它代表是上一次循环解出来的最小值,也就是比当前楼层低一层的情况下的最优解。所以while条件中的 max(dp[x - 1], dp2[n - x]) > max(dp[x], dp2[n - x - 1]), 带入T1 =dp(K−1,X−1),T2 =dp(K,N−X),就会发现其实是 max(T1(x-1), T2(x-1)) > max(T1(x), T2(x))( thinking)。 " 这段描述有点晦涩, max(T1(x-1), T2(x-1)) > max(T1(x),...