summaryrefslogtreecommitdiff
path: root/datastructures/dynamicConvexHull.cpp
diff options
context:
space:
mode:
authormzuenni <michi.zuendorf@gmail.com>2023-08-28 16:39:50 +0200
committermzuenni <michi.zuendorf@gmail.com>2023-08-28 16:39:50 +0200
commitf209418070050d4310a19191e3cd771760e5b521 (patch)
tree44e5526d3fc577201f3ea9848b6ca0493e5dfe0a /datastructures/dynamicConvexHull.cpp
parentf03379490f14c22af9928260986e0891b27979b7 (diff)
changed convex hull
Diffstat (limited to 'datastructures/dynamicConvexHull.cpp')
-rw-r--r--datastructures/dynamicConvexHull.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/datastructures/dynamicConvexHull.cpp b/datastructures/dynamicConvexHull.cpp
index 7ea1977..d669847 100644
--- a/datastructures/dynamicConvexHull.cpp
+++ b/datastructures/dynamicConvexHull.cpp
@@ -6,7 +6,6 @@ struct Line {
struct HullDynamic : multiset<Line, less<>> {
// (for doubles, use inf = 1/.0, div(a,b) = a/b)
- static constexpr ll INF = LLONG_MAX;
ll div(ll a, ll b) {return a / b - ((a ^ b) < 0 && a % b);}
bool isect(iterator x, iterator y) {