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

Compile Error

minstack.cpp:5:1: error: ‘dequw’ does not name a type
5 | dequw <long long> dq;
| ^~~~~
minstack.cpp: In function ‘void push(int)’:
minstack.cpp:9:2: error: ‘dq’ was not declared in this scope
9 | dq.push_front(x);
| ^~
minstack.cpp: In function ‘void pop()’:
minstack.cpp:16:2: error: ‘dq’ was not declared in this scope
16 | dq.pop_front();
| ^~
minstack.cpp: In function ‘int top()’:
minstack.cpp:20:9: error: ‘dq’ was not declared in this scope
20 | return dq.front();
| ^~