Problem minstack
User Reverberate
Submission Time 2023-06-03 22:25:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minstack.cpp:25:5: error: ambiguating new declaration of ‘long long int top()’
25 | int top() {
| ^~~
In file included from minstack.cpp:2:
minstack.h:5:5: note: old declaration ‘int top()’
5 | int top();
| ^~~
minstack.cpp:29:5: error: ambiguating new declaration of ‘long long int getMin()’
29 | int getMin() {
| ^~~~~~
In file included from minstack.cpp:2:
minstack.h:7:5: note: old declaration ‘int getMin()’
7 | int getMin();
| ^~~~~~