summaryrefslogtreecommitdiff
path: root/datastructures
diff options
context:
space:
mode:
authorMZuenni <michi.zuendorf@gmail.com>2022-11-30 12:43:36 +0100
committerMZuenni <michi.zuendorf@gmail.com>2022-11-30 12:43:36 +0100
commit702469ce6f966270997bfe43a9fb9881df2c0ff0 (patch)
treea7bc8db9fccdec27348515bd3128e51606f85e31 /datastructures
parent03788f48be2634c36cd19ba25b0a851685b9c877 (diff)
parent40f598b33ac8b60774bed5c12fb89fe4e5d586c1 (diff)
Merge branch 'new-master' of github.com:mzuenni/ContestReference into new-master
Diffstat (limited to 'datastructures')
-rw-r--r--datastructures/dynamicConvexHull.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/datastructures/dynamicConvexHull.cpp b/datastructures/dynamicConvexHull.cpp
index 18a46d0..d8a1a3b 100644
--- a/datastructures/dynamicConvexHull.cpp
+++ b/datastructures/dynamicConvexHull.cpp
@@ -44,7 +44,7 @@ struct HullDynamic : public multiset<Line> {
}
ll query(ll x) { // Laufzeit: O(log(n))
- auto l = *lower_bound((Line) {x, MIN});
+ auto l = *lower_bound((Line) {x, LLONG_MIN});
return l.m * x + l.b;
}
};