PAT
超爱喝酸奶
努力奋斗的大学渣
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
pat乙级1015德才论+C++Set集合Cmp重写+读写txt
真的一道题目引发的血案。。浙大的陈姥姥对java真的很不友好。做pat乙级题目,很多题用Java写都超时。没办法只有又回归C++。然而c++中很多细节我都不是很清楚碰了很多坑,所以研究了一下后写了这篇博客。先上题目吧题目1015. 德才论 (25) 时间限制 200 ms 内存限制 65536 kB 代码长度限制 ...原创 2018-03-08 19:01:31 · 564 阅读 · 0 评论 -
[拼题A] 7-3 Pop Sequence
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...原创 2018-06-09 17:34:59 · 2125 阅读 · 0 评论 -
PAT 1041 Be Unique (20)
Being unique is so important to people on Mars that even their lotteryis designed in a unique way. The rule of winning is simple: one bets ona number chosen from [1, 10^4^]. The first one who bets on ...原创 2018-06-10 16:22:49 · 258 阅读 · 0 评论
分享