Problem | minstack |
---|---|
User | eulerleonhardfan |
Submission Time | 2024-03-13 22:52:52 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minstack.cpp:37:5: error: ambiguating new declaration of ‘long long int top()’
37 | int top() {
| ^~~
In file included from minstack.cpp:11:
minstack.h:5:5: note: old declaration ‘int top()’
5 | int top();
| ^~~
minstack.cpp:40:5: error: ambiguating new declaration of ‘long long int getMin()’
40 | int getMin() {
| ^~~~~~
In file included from minstack.cpp:11:
minstack.h:7:5: note: old declaration ‘int getMin()’
7 | int getMin();
| ^~~~~~