Problem minstack
User bz
Submission Time 2023-11-20 11:30:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minstack.cpp: In function ‘void pop()’:
minstack.cpp:14:8: error: ‘class std::priority_queue<long long int, std::vector<long long int>, std::greater<long long int> >’ has no member named ‘erase’
14 | ms.erase(s.top());
| ^~~~~