Problem minstack
User dakingwawin
Submission Time 2024-12-11 15:00:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minstack.cpp: In function ‘int getMin()’:
minstack.cpp:21:36: error: expected primary-expression before ‘)’ token
21 | for(int i = 0; i < duck.size(); ++){
| ^
minstack.cpp:22:16: error: expected ‘)’ before ‘;’ token
22 | min(M,duck[0];
| ~ ^
| )