aboutsummaryrefslogtreecommitdiff
path: root/skyline_problem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'skyline_problem.cpp')
-rw-r--r--skyline_problem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/skyline_problem.cpp b/skyline_problem.cpp
index 1828978..b19c87a 100644
--- a/skyline_problem.cpp
+++ b/skyline_problem.cpp
@@ -2,8 +2,8 @@
class Solution {
public:
- vvd(int) getSkyline(vvd(int) & buildings) {
- vvd(int) ans;
+ vvd getSkyline(vvd & buildings) {
+ vvd ans;
map<int, vector<pair<int, int>>> mvp;
for (auto &b : buildings) {
mvp[b[0]].push_back({b[2], 0});