739 每日温度
ERROR:
st
为空时,仍取其中的值:
while (temperatures[i] > temperatures[st.top()] && !st.empty()) {
res[st.top()] = i - st.top();
st.pop();
/*
# 修改正确方式
if (st.empty()) {
break;
}
*/
}