![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
pat
我是王小明
在校学生,记录自己的算法成长经历
展开
-
pat甲级A1051 Pop Sequence
看书敲的代码,仅用来记录自己的成长#include <cstdio>#include <stack>using namespace std;const int maxn = 1010;int arr[maxn];stack<int> st;int main(){ int m,n,T; scanf("%d%d%d",&m,&n,&T); while(T--) { wh原创 2017-04-10 22:57:06 · 302 阅读 · 0 评论 -
pat甲级A1100
作者:王是王小明,仅用来记录自己的学习型经历,转载请表明出处 Actually this coding is not difficult ,the logic is very simple.Because the data volume is small,so the use of the STL’s map directly to establish a mapping table,the qu原创 2017-04-13 00:08:50 · 208 阅读 · 0 评论