Problem minstack
User DoubleShaurya
Submission Time 2024-03-04 15:58:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minstack.cpp: In function ‘void push(int)’:
minstack.cpp:9:5: error: ‘class std::vector<long long int>’ has no member named ‘push_front’
9 | dq.push_front(x);
| ^~~~~~~~~~
minstack.cpp: In function ‘void pop()’:
minstack.cpp:16:5: error: ‘class std::vector<long long int>’ has no member named ‘pop_front’
16 | dq.pop_front();
| ^~~~~~~~~