Problem pilot
User newperson
Submission Time 2025-03-03 10:15:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pilot.cpp: In function ‘int main()’:
pilot.cpp:62:20: error: ‘class std::set<std::pair<long long int, long long int> >’ has no member named ‘push_back’
62 | height.push_back({val, tot});
| ^~~~~~~~~
pilot.cpp:89:12: error: ‘class std::set<std::pair<long long int, long long int> >’ has no member named ‘push_back’
89 | height.push_back({val, tot});
| ^~~~~~~~~
pilot.cpp:94:22: error: ‘s’ was not declared in this scope
94 | auto pt = --(s.upper_bound(mkp(h,10000000000010ll)));
| ^