Problem minstack
User ChickenCoder
Submission Time 2023-10-02 02:47:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minstack.cpp: In function ‘void push(int)’:
minstack.cpp:9:45: error: expected ‘;’ before ‘}’ token
9 | st.push_back({X, min(X, st.back().second)})
| ^
| ;
10 | }
| ~