#include<algorithm> #include <functional> class Solution { public: int Minnum; stack<int> s1,s2; // s1正常pop top push // s2存最小值 void push(int value) { s1.push(value); //s2为空 if(s2.empty() || value < s2.top()) { s2.p...