summaryrefslogtreecommitdiff
path: root/content/other/knuth.cpp
diff options
context:
space:
mode:
authormzuenni <michi.zuendorf@gmail.com>2024-08-06 16:54:13 +0200
committermzuenni <michi.zuendorf@gmail.com>2024-08-06 16:54:13 +0200
commit19436370fb48bc0a5e356d1ba713dc39b1a35d3a (patch)
tree42124647e993b50bc2b8af36090a0b0245a63992 /content/other/knuth.cpp
parentd88debc398f18d4e3d1c53d221dffe3981f35e41 (diff)
upper case INF
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];