![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
PAT考试
初见还是重逢
记录个人学习
展开
-
【PAT乙级】PAT (Basic Level) Practice (中文)训练记录
本博客用于记录PAT乙级题库做题新得原创 2019-02-25 10:16:18 · 3694 阅读 · 7 评论 -
【PAT甲级】1001 A+B Format (20 分)
1001 A+B Format (20 分)题目描述Calculate a+b and output the sum in standard format – that is, the digits must be separated into groups of three by commas (unless there are less than four digits).Input S...原创 2019-07-08 16:21:04 · 258 阅读 · 0 评论 -
【PAT甲级】1009 Product of Polynomials (25 分)
1009 Product of Polynomials题目描述:This time, you are supposed to find A×B where A and B are two polynomials.Input Specification:Each input file contains one test case. Each case occupies 2 lines, an...原创 2019-07-12 00:39:24 · 266 阅读 · 0 评论 -
【PAT甲级】1012 The Best Rank (25 分)
1012 The Best Rank题目描述:To evaluate the performance of our first year CS majored students, we consider their grades of three courses only: C - C Programming Language, M - Mathematics (Calculus or Lin...原创 2019-07-16 23:07:11 · 169 阅读 · 0 评论 -
【PAT甲级】1015 Reversible Primes (20 分)
1015 Reversible Primes题目描述A reversible prime in any number system is a prime whose “reverse” in that number system is also a prime. For example in the decimal system 73 is a reversible prime because...原创 2019-08-03 18:59:22 · 298 阅读 · 0 评论 -
【PAT甲级】1016 Phone Bills (25 分)
1016 Phone Bills题目描述A long-distance telephone company charges its customers by the following rules:Making a long-distance call costs a certain amount per minute, depending on the time of day when t...原创 2019-08-03 20:00:28 · 261 阅读 · 0 评论 -
【PAT甲级】1013 Battle Over Cities (25 分)
1013 Battle Over Cities题目描述It is vitally important to have all the cities connected by highways in a war. If a city is occupied by the enemy, all the highways from/toward that city are closed. We mu...原创 2019-07-22 21:50:16 · 219 阅读 · 0 评论 -
【PAT甲级】1014 Waiting in Line (30 分)
1014 Waiting in Line题目描述Suppose a bank has N windows open for service. There is a yellow line in front of the windows which devides the waiting area into two parts. The rules for the customers to wa...原创 2019-07-31 20:34:01 · 610 阅读 · 0 评论 -
【PAT甲级】个人做题记录之:1017 Queueing at Bank (25 分)
由于之前审核原创,所以好像相似的题目标题都要进行人工的原创审核,因此试着改一下标题,看能不能让机器审核通过由于最近在公司实习,所以没法即使更新pat甲级的做题训练,马上九月份就要考试了,也不知道这次训练这么少能考个什么成绩,总之,加油!1017 Queueing at Bank题目描述:Suppose a bank has K windows open for service. Th...原创 2019-08-15 23:49:33 · 480 阅读 · 0 评论 -
【PAT甲级】1008 Elevator (20 分)
1008 Elevator题目描述:The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at which floors the elevator will stop, in specified o...原创 2019-07-11 23:44:49 · 249 阅读 · 0 评论 -
【PAT甲级】1007 Maximum Subsequence Sum (25 分)
Maximum Subsequence Sum题目描述Given a sequence of K integers { N1 , N2, …, NK }. A continuous subsequence is defined to be { Ni , Ni+1 , …, Nj } where 1≤i≤j≤K. The Maximum Subsequence is the...原创 2019-07-10 22:46:17 · 224 阅读 · 2 评论 -
【PAT甲级】1006 Sign In and Sign Out (25 分)
Sign In and Sign Out题目描述At the beginning of every day, the first person who signs in the computer room will unlock the door, and the last one who signs out will lock the door. Given the records of s...原创 2019-07-10 20:27:37 · 241 阅读 · 0 评论 -
【PAT甲级】1005 Spell It Right (20 分)
Spell It Right题目描述Given a non-negative integer N, your task is to compute the sum of all the digits of N, and output every digit of the sum in English.Input Specification:Each input file contains ...原创 2019-07-10 19:34:21 · 182 阅读 · 0 评论 -
【PAT甲级】1011 World Cup Betting (20 分)
1011 World Cup Betting题目描述With the 2010 FIFA World Cup running, football fans the world over were becoming increasingly excited as the best players from the best teams doing battles for the World Cu...原创 2019-07-13 23:59:17 · 188 阅读 · 0 评论 -
【PAT甲级】1010 Radix (25 分)
1010 Radix题目描述Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answer is yes, if 6 is a decimal number and 110 is a binary number.Now for any pair o...原创 2019-07-13 15:44:58 · 843 阅读 · 2 评论 -
【PAT甲级】1004 Counting Leaves (30 分)
1004 Counting Leaves题目描述A family hierarchy is usually presented by a pedigree tree. Your job is to count those family members who have no child.Input Specification:Each input file contains one tes...原创 2019-07-09 00:17:39 · 223 阅读 · 0 评论 -
【PAT甲级】PAT (Advance Level) 训练记录【纪念19年9月8号PAT甲级满分~】
为了继续增加自己的编程与算法能力,继续刷PAT甲级的考试题。由于最近在公司实习,还有公司的考试题要做,因此记录甲级的做题记录可能会比较慢,只能回家的时候做一会,但是贵在坚持。本文是一个归档文章,将所有题目的具体链接与部分信息记录在这里本文持续更新中(to be continued…)博客中涉及的代码均存储在我的GitHub仓库中,如有需要可以直接点击链接查看或下载:PAT甲级代码(上传代码...原创 2019-07-13 15:47:47 · 697 阅读 · 1 评论 -
【PAT甲级】1003 Emergency (25 分)
1003 Emergency题目描述As an emergency rescue team leader of a city, you are given a special map of your country. The map shows several scattered cities connected by some roads. Amount of rescue teams in...原创 2019-07-08 21:27:01 · 165 阅读 · 0 评论 -
【PAT甲级】1002 A+B for Polynomials (25 分)
1002 A+B for Polynomials题目描述This time, you are supposed to find A+B where A and B are two polynomials.Input Specification:Each input file contains one test case. Each case occupies 2 lines, and ea...原创 2019-07-08 16:53:47 · 160 阅读 · 0 评论 -
【PAT甲级】个人做题记录之:1018 Public Bike Management (30 分)
PAT甲级圆满考完了,这次也考了一个相对不错的成绩,之后可能就很少刷PAT题库了,慢慢将之前刷题的过程补充记录上来吧1018 Public Bike Management题目描述There is a public bike service in Hangzhou City which provides great convenience to the tourists from all ov...原创 2019-09-09 10:48:39 · 370 阅读 · 0 评论