Problem | minstack |
---|---|
User | LiuZq |
Submission Time | 2024-04-14 15:29:28 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minstack.cpp:5:1: error: ‘mulitset’ does not name a type
5 | mulitset<int> mini;
| ^~~~~~~~
minstack.cpp: In function ‘void push(int)’:
minstack.cpp:9:4: error: ‘mini’ was not declared in this scope
9 | mini.insert(m);
| ^~~~
minstack.cpp:9:16: error: ‘m’ was not declared in this scope
9 | mini.insert(m);
| ^
minstack.cpp: In function ‘void pop()’:
minstack.cpp:13:4: error: ‘mini’ was not declared in this scope
13 | mini.erase(s.top());
| ^~~~
minstack.cpp: In function ‘int getMin()’:
minstack.cpp:22:10: error: ‘mini’ was not declared in this scope
22 | return *mini.begin();
| ^~~~