PAT(Advanced)
文章平均质量分 92
PAT甲级题目目录
PAT甲级相关题目+分析+题解
ztmajor
这个作者很懒,什么都没留下…
展开
-
[PAT- Advanced Level] 甲级题解目录(Advanced Level)
PAT考试一年3次,个人认为3月份和12月份的相对于9月份的简单。如果有意想考PAT的同学可以尽早准备,去考3月份的原创 2019-12-25 17:51:21 · 1547 阅读 · 2 评论 -
[PAT] PAT注意点
如有错误或者建议,请留言或者私我。与诸君共同进步,共勉。原创 2020-01-18 23:21:45 · 4246 阅读 · 3 评论 -
[PAT-Advanced] A1071. Speech Patterns (25)
【代码】[PAT-Advanced] A1071. Speech Patterns (25)原创 2022-12-02 15:52:30 · 255 阅读 · 1 评论 -
[PAT-Advanced] B1020/A1070. Mooncake (25)
已知月饼种类N,表示月饼的市场最大需求量D,以及每种月饼的数量和总价。求根据市场最大需求量,这些月饼的最大销售利润为多少。原创 2022-11-30 10:43:15 · 608 阅读 · 0 评论 -
[PAT-Advanced] B1019/A1069. The Black Hole of Numbers (20)
【代码】[PAT-Advanced] B1019/A1069. The Black Hole of Numbers (20)原创 2022-11-28 19:03:33 · 515 阅读 · 0 评论 -
[PAT-Advanced] A1015 Reversible Primes (20)
【代码】[PAT-Advanced] A1015 Reversible Primes (20)原创 2022-11-07 16:26:08 · 285 阅读 · 0 评论 -
[PAT-Advanced] A1054. The Dominant Color (20)
【代码】[PAT-Advanced] A1054. The Dominant Color (20)原创 2022-11-05 20:43:15 · 348 阅读 · 0 评论 -
[PAT-Advanced] A1025. PAT Ranking (25)
【代码】[PAT-Advanced] A1025. PAT Ranking (25)原创 2022-11-04 15:50:15 · 378 阅读 · 0 评论 -
[PAT-Advanced] A1024 Palindromic Number (25)
原创 2022-10-25 09:02:44 · 249 阅读 · 0 评论 -
[PAT-Advanced] A1010 Radix (25)
文章目录A1010 Radix (25point(s))Input Specification:Output Specification:Sample Input 1:Sample Output 1:Sample Input 2:Sample Output 2:CodeAnalysisAuthor: CHEN, YueOrganization: 浙江大学Time Limit: 400 ms...原创 2019-12-31 10:27:06 · 228 阅读 · 0 评论 -
[PAT-Advanced] A1009 Product of Polynomials (25)
文章目录A1009 Product of Polynomials (25point(s))Input Specification:Output Specification:Sample Input:Sample Output:CodeAnalysisAuthor: CHEN, YueOrganization: 浙江大学Time Limit: 400 msMemory Limit: 64 M...原创 2019-12-31 08:58:58 · 204 阅读 · 1 评论 -
[PAT-Advanced] A1008 Elevator (20)
文章目录A1008 Elevator (20point(s))input Specification:Output Specification:Sample Input:Sample Output:CodeAnalysisA1008 Elevator (20point(s))The highest building in our city has only one elevator. A re...原创 2019-12-27 09:21:56 · 169 阅读 · 0 评论 -
[PAT-Advanced] A1006 Sign In and Sign Out (25)
文章目录A1006 Sign In and Sign Out (25point(s))Input Specification:Output Specification:Sample Input:Sample Output:CodeAnalysisA1006 Sign In and Sign Out (25point(s))At the beginning of every day, the f...原创 2019-12-26 17:54:24 · 275 阅读 · 0 评论 -
[PAT-Advanced] A1005 Spell It Right (20)
文章目录A1005 Spell It Right (20point(s))Input Specification:Output Specification:Sample Input:Sample Output:CodeAnalysisA1005 Spell It Right (20point(s))Given a non-negative integer N, your task is to ...原创 2019-12-26 17:39:32 · 146 阅读 · 0 评论 -
[PAT-Advanced] A1004 Counting Leaves (30)
文章目录A1004 Counting Leaves (30point(s))Input Specification:Output Specification:Sample Input:Sample Output:CodeAnalysisA1004 Counting Leaves (30point(s))A family hierarchy is usually presented by a p...原创 2019-12-25 17:41:13 · 210 阅读 · 0 评论 -
[PAT-Advanced]A1003 Emergency (25)
理解和记忆Dijkstra算法原创 2019-12-25 17:07:37 · 191 阅读 · 0 评论 -
[PAT-Advanced] A1002 A+B for Polynomials (25)
文章目录A1002 A+B for Polynomials (25point(s))Input Specification:Output Specification:Sample Input:Sample Output:AnalysisCodeA1002 A+B for Polynomials (25point(s))This time, you are supposed to find A+...原创 2019-12-24 23:27:14 · 262 阅读 · 0 评论 -
[PAT-Advanced] A1001 A+B Format (20)
PAT甲级A1001题目+分析+题解原创 2019-12-24 23:21:25 · 307 阅读 · 0 评论 -
【PAT】B1049/A1104. Sum of Number Segments (20)
Author: CAO, PengOrganization: GoogleTime Limit: 200 msMemory Limit: 64 MBCode Size Limit: 16 KBB1049/A1104. Sum of Number Segments (20)Description:Given a sequence of positive numbers, a...原创 2018-07-17 19:54:29 · 239 阅读 · 1 评论 -
【PAT】A1056. Mice and Rice (25)
Description:Mice and Rice is the name of a programming contest in which each programmer must write a piece of code to control the movements of a mouse in a given map. The goal of each mouse is to ea...原创 2018-07-29 20:19:47 · 154 阅读 · 0 评论 -
【PAT】A1059. Prime Factors (25)
Description:Given any positive integer N, you are supposed to find all of its prime factors, and write them in the format N = p1^k1 * p2^k2 *…*pm^km.Input Specification:Each input file contain...原创 2018-07-20 19:05:31 · 242 阅读 · 0 评论 -
【PAT】A1060. Are They Equal (25)
Description:If a machine can save only 3 significant digits, the float numbers 12300 and 12358.9 are considered equal since they are both saved as 0.123*105 with simple chopping. Now given the number...原创 2018-07-24 20:56:30 · 193 阅读 · 0 评论 -
【PAT】A1063. Set Similarity (25)
Description:Given two sets of integers, the similarity of the sets is defined to be Nc/Nt*100%, where Nc is the number of distinct common numbers shared by the two sets, and Nt is the total number of...原创 2018-07-23 19:21:45 · 151 阅读 · 0 评论 -
【PAT】A1064. Complete Binary Search Tree (30)
Description:A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties:The left subtree of a node contains only nodes with keys less than the node’s key....原创 2018-08-30 20:33:11 · 201 阅读 · 0 评论 -
【PAT】A1067. Sort with Swap(0,*) (25)
Description:Given any permutation of the numbers {0, 1, 2,…, N-1}, it is easy to sort them in increasing order. But what if Swap(0, *) is the ONLY operation that is allowed to use? For example, to sor...原创 2018-07-08 12:27:47 · 165 阅读 · 0 评论 -
【PAT】A1073 Scientific Notation (20point(s))
文章目录A1073 Scientific Notation (20point(s))Input Specification:Output Specification:Sample Input 1:Sample Output 1:Sample Input 2:Sample Output 2:CodeAnalysisAuthor: HOU, QimingOrganization: 浙江大学Tim...原创 2020-02-18 11:34:32 · 178 阅读 · 0 评论 -
【PAT】A1072. Gas Station (30)
Description:A gas station has to be built at such a location that the minimum distance between the station and any of the residential housing is as far away as possible. However it must guarantee th...原创 2018-09-04 21:16:06 · 172 阅读 · 0 评论 -
【PAT】B1025/A1074. Reversing Linked List (25)
Description:Given a constant K and a singly linked list L, you are supposed to reverse the links of every K elements on L. For example, given L being 1→2→3→4→5→6, if K = 3, then you must output 3→2→1...原创 2018-07-30 21:26:13 · 180 阅读 · 0 评论 -
【PAT】A1075 PAT Judge (25point(s))
文章目录A1075 PAT Judge (25point(s))Input Specification:Output Specification:Sample Input:Sample Output:CodeAnalysisAuthor: CHEN, YueOrganization: 浙江大学Time Limit: 200 msMemory Limit: 64 MBCode Size L...原创 2020-02-17 13:50:19 · 212 阅读 · 0 评论 -
【PAT】A1076 Forwards on Weibo (30point(s))
文章目录A1076 Forwards on Weibo (30point(s))Input Specification:Output Specification:Sample Input:Sample Output:CodeAnalysisAuthor: CHEN, YueOrganization: 浙江大学Time Limit: 3000 msMemory Limit: 64 MBCo...原创 2020-02-16 15:24:22 · 172 阅读 · 0 评论 -
【PAT】A1080 Graduate Admission (30point(s))
文章目录A1080 Graduate Admission (30point(s))Input Specification:Output Specification:Sample Input:Sample Output:CodeAnalysisAuthor: CHEN, YueOrganization: 浙江大学Time Limit: 250 msMemory Limit: 64 MBCo...原创 2020-02-15 14:22:43 · 337 阅读 · 0 评论 -
【PAT】A1155 Heap Paths (30 point(s))
文章目录A1155 Heap Paths (30 point(s))Input Specification:Output Specification:Sample Input 1:Sample Input 2:Sample Output 2:Sample Input 3:Sample Output 3:A1155 Heap Paths (30 point(s))In computer scie...原创 2019-08-18 17:15:12 · 286 阅读 · 0 评论 -
【PAT】A1077. Kuchiguse (20)
A1077. Kuchiguse (20)The Japanese language is notorious for its sentence ending particles. Personal preference of such particles can be considered as a reflection of the speaker’s personality. Such ...原创 2018-07-05 21:58:15 · 1346 阅读 · 0 评论 -
【PAT】A1078. Hashing (25)
Author: CHEN, YueOrganization: 浙江大学Time Limit: 250 msMemory Limit: 64 MBCode Size Limit: 16 KBA1078. Hashing (25)The task of this problem is simple: insert a sequence of distinct positive...原创 2018-07-19 20:41:38 · 222 阅读 · 0 评论 -
【PAT】A1079. Total Sales of Supply Chain (25)
Author: CHEN, YueOrganization: 浙江大学Time Limit: 250 msMemory Limit: 64 MBCode Size Limit: 16 KBA1079. Total Sales of Supply Chain (25)A supply chain is a network of retailers(零售商), distribu...原创 2018-08-18 20:02:43 · 216 阅读 · 0 评论 -
【PAT】A1082 Read Number in Chinese (25point(s))
文章目录A1082 Read Number in Chinese (25point(s))Input Specification:Output Specification:Sample Input 1:Sample Output 1:Sample Input 2:Sample Output 2:CodeAnalysisAuthor: CHEN, YueOrganization: 浙江大学Ti...原创 2020-02-02 18:02:55 · 188 阅读 · 0 评论 -
【PAT】A1081. Rational Sum (20)
Author: CHEN, YueOrganization: 浙江大学Time Limit: 400 msMemory Limit: 64 MBCode Size Limit: 16 KBA1081. Rational Sum (20)Given N rational numbers in the form “numerator/denominator”, you are ...原创 2018-07-18 19:05:30 · 240 阅读 · 0 评论 -
【PAT】A1083. List Grades (25)
Author: CHEN, YueOrganization: 浙江大学Time Limit: 400 msMemory Limit: 64 MBCode Size Limit: 16 KBA1083. List Grades (25)Given a list of N student records with name, ID and grade. You are supp...原创 2018-07-06 23:01:25 · 209 阅读 · 0 评论 -
【PAT】B1029/A1084. Broken Keyboard (20)
Author: CHEN, YueOrganization: 浙江大学Time Limit: 200 msMemory Limit: 64 MBCode Size Limit: 16 KBDescription:On a broken keyboard, some of the keys are worn out. So when you type some sentenc...原创 2018-07-07 09:46:44 · 346 阅读 · 0 评论 -
【PAT】B1030/A1085. Perfect Sequence (25)
Author: CAO, PengOrganization: 浙江大学Time Limit: 200 msMemory Limit: 64 MBCode Size Limit: 16 KBB1030/A1085. Perfect Sequence (25)Given a sequence of positive integers and another positive i...原创 2018-07-09 20:18:12 · 217 阅读 · 0 评论