Problem gotoschool_ex
User urmom
Submission Time 2023-11-07 11:32:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gotoschool_ex.cpp: In function ‘int main()’:
gotoschool_ex.cpp:18:13: error: ‘class std::priority_queue<std::pair<int, int>, std::vector<std::pair<int, int> >, std::greater<std::pair<int, int> > >’ has no member named ‘reserve’
18 | minHeap.reserve(n);
| ^~~~~~~