Skip to content

Commit f060df4

Browse files
mhayteradamant-pwn
authored andcommitted
No return value in function knuth-optimization.md
1 parent acebb05 commit f060df4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dynamic_programming/knuth-optimization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ int solve() {
6464
}
6565
}
6666

67-
cout << dp[0][N-1] << endl;
67+
return dp[0][N-1];
6868
}
6969
```
7070

0 commit comments

Comments
 (0)