![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
PAT甲级
Irving_87
每天坚持敲代码
展开
-
(PAT甲级)1042. Shuffling Machine (20)
这道题目很简单,应该是送分题,题目描述如下:Shuffling is a procedure used to randomize a deck of playing cards. Because standard shuffling techniques are seen as weak, and in order to avoid "inside jobs" where employees co...原创 2018-04-12 21:18:15 · 136 阅读 · 0 评论 -
(PAT甲级)1051. Pop Sequence (25)
Given a stack which can keep M numbers at most. Push N numbers in the order of 1, 2, 3, ..., N and pop randomly. You are supposed to tell if a given sequence of numbers is a possible pop sequence of t...原创 2018-05-11 12:15:32 · 190 阅读 · 1 评论