Problem minstack
User Shadow1
Submission Time 2024-05-01 18:00:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minstack.cpp: In function ‘int getMin()’:
minstack.cpp:57:15: error: ‘class std::priority_queue<int, std::vector<int>, std::greater<int> >’ has no member named ‘front’
57 | while(mp[prq.front()]) {
| ^~~~~