summaryrefslogtreecommitdiff
path: root/datastructures/monotonicConvexHull.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'datastructures/monotonicConvexHull.cpp')
-rw-r--r--datastructures/monotonicConvexHull.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/datastructures/monotonicConvexHull.cpp b/datastructures/monotonicConvexHull.cpp
index 4b3dbff..0049b3d 100644
--- a/datastructures/monotonicConvexHull.cpp
+++ b/datastructures/monotonicConvexHull.cpp
@@ -1,6 +1,7 @@
// Lower Envelope mit MONOTONEN Inserts und Queries. Jede neue
// Gerade hat kleinere Steigung als alle vorherigen.
-vector<ll> ms, bs; int ptr = 0;
+vector<ll> ms, bs;
+int ptr = 0;
bool bad(int l1, int l2, int l3) {
return (bs[l3]-bs[l1])*(ms[l1]-ms[l2]) <