更新图片链接

This commit is contained in:
kama
2025-05-19 17:11:04 +08:00
parent b489cb69b5
commit ce6e658d14
315 changed files with 2499 additions and 1729 deletions

2
problems/1049.最后一块石头的重量II.md Normal file → Executable file
View File

@@ -114,7 +114,7 @@ for (int i = 0; i < stones.size(); i++) { // 遍历物品
举例,输入:[2,4,1,1]此时target = (2 + 4 + 1 + 1)/2 = 4 dp数组状态图如下
![1049.最后一块石头的重量II](https://file.kamacoder.com/pics/20210121115805904.jpg)
![1049.最后一块石头的重量II](https://file1.kamacoder.com/i/algo/20210121115805904.jpg)
最后dp[target]里是容量为target的背包所能背的最大重量。