summaryrefslogtreecommitdiff
path: root/content/other/knuth.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'content/other/knuth.cpp')
-rw-r--r--content/other/knuth.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/other/knuth.cpp b/content/other/knuth.cpp
index 1d513c8..aa54924 100644
--- a/content/other/knuth.cpp
+++ b/content/other/knuth.cpp
@@ -1,5 +1,5 @@
ll calc(int n, int m, const vector<vector<ll>>& C) {
- vector<vector<ll>> dp(m, vector<ll>(n, inf));
+ vector<vector<ll>> dp(m, vector<ll>(n, INF));
vector<vector<int>> opt(m, vector<int>(n + 1, n - 1));
for (int i = 0; i < n; i++) dp[0][i] = C[0][i];