Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0bf8a99

Browse filesBrowse files
author
night
committed
opt doc
1 parent 7b1fa5e commit 0bf8a99
Copy full SHA for 0bf8a99

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎note/494/README.md

Copy file name to clipboardExpand all lines: note/494/README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
这道题的递推公式和 416 类似:
1717
```
18-
f(i,j) = f(i - 1, j) + f(i - 1, j - nums[i -1])
18+
f(i,j) = f(i - 1, j) + f(i - 1, j - nums[i])
1919
```
2020

2121
用一维数组来替代呐, 就是下面的代码了

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.