Skip to content

Commit 36b80c5

Browse files
authored
Update erect-the-fence.cpp
1 parent e325e86 commit 36b80c5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

C++/erect-the-fence.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ class Solution {
1616

1717
vector<vector<int>> hull;
1818
sort(points.begin(), points.end());
19-
2019
for (int i = 0; i < points.size(); ++i) {
2120
while (hull.size() >= 2 &&
2221
orientation(hull[hull.size() - 2],
@@ -26,7 +25,6 @@ class Solution {
2625
}
2726
hull.emplace_back(points[i]);
2827
}
29-
3028
for (int i = points.size() - 2; i >= 0; --i) {
3129
while (hull.size() >= 2 &&
3230
orientation(hull[hull.size() - 2],

0 commit comments

Comments
 (0)