摘要: 01 测试日期:2025.12.5 T1 CF911E Stack Sorting 分析 用栈来模拟,能 \(pop\) 就 \(pop\),记下一个需要 \(pop\) 的数为 \(temp\) ,那么如果栈非空,栈顶肯定大于 \(temp\) ,那么加入栈栈顶值 \(-1\) 到 \(temp\ 阅读全文
posted @ 2025-12-20 22:00 shaotianyu 阅读(21) 评论(0) 推荐(0)