| Problem | minstack |
|---|---|
| User | tuongphat2505 |
| Submission Time | 2026-03-01 19:21:48 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
minstack.cpp: In function ‘void pop()’:
minstack.cpp:61:30: error: return-statement with a value, in function returning ‘void’ [-fpermissive]
61 | if (st.empty()) return -1;
| ^
minstack.cpp:65:12: error: return-statement with a value, in function returning ‘void’ [-fpermissive]
65 | return popval;
| ^~~~~~