![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
PAT
只帆一浩
学生一个,准备考研
展开
-
PAT A1048
1048 Find Coins (25 分)Eva loves to collect coins from all over the universe, including some other planets like Mars. One day she visited a universal shopping mall which could accept all kinds of coin...原创 2019-02-18 00:41:31 · 129 阅读 · 0 评论 -
PAT A1041
1041 Be Unique (20 分)Being unique is so important to people on Mars that even their lottery is designed in a unique way. The rule of winning is simple: one bets on a number chosen from [1,104]. Th...原创 2019-02-12 12:13:57 · 190 阅读 · 2 评论 -
PAT A1096
1096 Consecutive Factors (20 分)Among all the factors of a positive integer N, there may exist several consecutive numbers. For example, 630 can be factored as 3×5×6×7, where 5, 6, and 7 are the three...原创 2019-02-23 20:21:49 · 105 阅读 · 0 评论 -
PAT A1051(栈)
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 pos...原创 2019-02-14 14:35:30 · 172 阅读 · 0 评论