diff options
| author | mzuenni <michi.zuendorf@gmail.com> | 2023-08-28 16:39:50 +0200 |
|---|---|---|
| committer | mzuenni <michi.zuendorf@gmail.com> | 2023-08-28 16:39:50 +0200 |
| commit | f209418070050d4310a19191e3cd771760e5b521 (patch) | |
| tree | 44e5526d3fc577201f3ea9848b6ca0493e5dfe0a /datastructures/dynamicConvexHull.cpp | |
| parent | f03379490f14c22af9928260986e0891b27979b7 (diff) | |
changed convex hull
Diffstat (limited to 'datastructures/dynamicConvexHull.cpp')
| -rw-r--r-- | datastructures/dynamicConvexHull.cpp | 1 |
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) { |
