mirror of
https://github.com/SunnyQjm/algorithm-homework.git
synced 2026-10-05 01:15:36 +08:00
update
This commit is contained in:
1 parent
0bf93d4630
commit
55b23ccdcd
1 file changed
+1
-2
@@ -73,7 +73,6 @@
|
||||
dp[i][j] = f[i][k] + dp[i - 1][j - k]
|
||||
return dp[rowNum - 1][columnNum - 1]
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
print(getMaxProfit([
|
||||
[0, 11, 12, 13, 14, 15],
|
||||
@@ -85,7 +84,7 @@
|
||||
# 输出
|
||||
61
|
||||
```
|
||||
|
||||
|
||||
- ### Leetcode problem 746
|
||||
|
||||
> [使用最小花费爬楼梯](https://leetcode-cn.com/problems/min-cost-climbing-stairs/)
|
||||
|
||||
Reference in new issue
Block a user