Problem minstack
User dacashew
Submission Time 2023-12-09 14:45:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minstack.cpp: In function ‘int getMin()’:
minstack.cpp:98:44: error: ‘class std::stack<int>’ has no member named ‘end’
98 | while(!pq.empty() and m.find(pq.top())!=s.end()){
| ^~~