diff options
| author | MZuenni <michi.zuendorf@gmail.com> | 2022-11-30 12:43:36 +0100 |
|---|---|---|
| committer | MZuenni <michi.zuendorf@gmail.com> | 2022-11-30 12:43:36 +0100 |
| commit | 702469ce6f966270997bfe43a9fb9881df2c0ff0 (patch) | |
| tree | a7bc8db9fccdec27348515bd3128e51606f85e31 /datastructures | |
| parent | 03788f48be2634c36cd19ba25b0a851685b9c877 (diff) | |
| parent | 40f598b33ac8b60774bed5c12fb89fe4e5d586c1 (diff) | |
Merge branch 'new-master' of github.com:mzuenni/ContestReference into new-master
Diffstat (limited to 'datastructures')
| -rw-r--r-- | datastructures/dynamicConvexHull.cpp | 2 |
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; } }; |
