| Problem | minstack |
|---|---|
| User | StarSparrowFox |
| Submission Time | 2025-07-12 19:52:12 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
minstack.cpp: In function ‘void push(int)’:
minstack.cpp:10:17: error: invalid use of member function ‘bool std::stack<_Tp, _Sequence>::empty() const [with _Tp = int; _Sequence = std::deque<int, std::allocator<int> >]’ (did you forget the ‘()’ ?)
10 | if (minimum.empty || X < minimum.top()) {
| ~~~~~~~~^~~~~
| ()