Problem papaya
User hwy
Submission Time 2023-06-15 12:30:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

papaya.cpp: In function ‘int main()’:
papaya.cpp:25:12: error: ‘class std::priority_queue<std::pair<int, std::pair<int, int> > >’ has no member named ‘begin’
25 | clear(pq.begin(), pq.end());
| ^~~~~
papaya.cpp:25:24: error: ‘class std::priority_queue<std::pair<int, std::pair<int, int> > >’ has no member named ‘end’
25 | clear(pq.begin(), pq.end());
| ^~~
papaya.cpp:25:3: error: ‘clear’ was not declared in this scope
25 | clear(pq.begin(), pq.end());
| ^~~~~