Problem | gotoschool_ex |
---|---|
User | urmom |
Submission Time | 2023-11-07 11:36:22 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
gotoschool_ex.cpp: In function ‘int main()’:
gotoschool_ex.cpp:19: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’
19 | minHeap.reserve(n);
| ^~~~~~~