| Problem | minstack |
|---|---|
| User | Yanwang |
| Submission Time | 2025-01-06 12:00:19 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
minstack.cpp:34:5: error: ambiguating new declaration of ‘long long int top()’
34 | int top(){
| ^~~
In file included from minstack.cpp:2:
minstack.h:5:5: note: old declaration ‘int top()’
5 | int top();
| ^~~
minstack.cpp:38:5: error: ambiguating new declaration of ‘long long int getMin()’
38 | int getMin(){
| ^~~~~~
In file included from minstack.cpp:2:
minstack.h:7:5: note: old declaration ‘int getMin()’
7 | int getMin();
| ^~~~~~