Problem minstack
User jerrielchangjiebin
Submission Time 2024-12-11 15:12:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minstack.cpp: In function ‘void push(int)’:
minstack.cpp:8:29: error: ‘x’ was not declared in this scope
8 | mn.push_back(min(mn.back(),x))
| ^