摘要: 算法标签 栈 题目简叙 思路 push stk[++tt]=tmpN; pop tt--; query cout<<stk[tt]<<endl; empty if(tt>0)cout<<"NO"; else cout<<"YES"; 代码 数组模拟 #include<iostream> #inclu 阅读全文
posted @ 2024-02-04 14:52 俺叫西西弗斯 阅读(0) 评论(0) 推荐(0)