We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e325e86 commit 36b80c5Copy full SHA for 36b80c5
C++/erect-the-fence.cpp
@@ -16,7 +16,6 @@ class Solution {
16
17
vector<vector<int>> hull;
18
sort(points.begin(), points.end());
19
-
20
for (int i = 0; i < points.size(); ++i) {
21
while (hull.size() >= 2 &&
22
orientation(hull[hull.size() - 2],
@@ -26,7 +25,6 @@ class Solution {
26
25
}
27
hull.emplace_back(points[i]);
28
29
30
for (int i = points.size() - 2; i >= 0; --i) {
31
32
0 commit comments