Problem laughter
User wongyikai
Submission Time 2024-12-04 15:22:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

laughter.cpp: In function ‘std::pair<long long int, long long int> sweep(ll, ll, ll, std::vector<std::pair<long long int, long long int> >, ll, ll, std::multiset<long long int>, ll, std::pair<long long int, long long int>, ll)’:
laughter.cpp:56:5: error: ‘class std::priority_queue<long long int, std::vector<long long int>, std::greater<long long int> >’ has no member named ‘clear’
56 | pq.clear();
| ^~~~~
laughter.cpp: In function ‘std::pair<long long int, long long int> sweep2(ll, ll, ll, std::vector<std::pair<long long int, long long int> >, ll, ll, std::multiset<long long int>, ll, std::pair<long long int, long long int>, ll)’:
laughter.cpp:78:5: error: ‘class std::priority_queue<long long int, std::vector<long long int>, std::greater<long long int> >’ has no member named ‘clear’
78 | pq.clear();
| ^~~~~
laughter.cpp: In function ‘std::p