PAT
文章平均质量分 91
YanHX_
6208
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
2021-11-04 PAT(6) 从简单题过渡到中等题
最近没做PAT了,有些忙,打算一个月激情冲刺PAT,目前就是偶尔做题。1094 The Largest Generation (25 分)A family hierarchy is usually presented by a pedigree tree where all the nodes on the same level belong to the same generation. Your task is to find the generation with the largest po原创 2022-03-01 11:27:31 · 749 阅读 · 0 评论 -
2021-10-24 PAT(5)
目录1140 Look-and-say Sequence (20 分)Input Specification:Output Specification:Sample Input:Sample Output:题目大意:答案:1116 Come on! Let's C (20 分)Input Specification:Output Specification:Sample Input:Sample Output:题目大意:答案:1121 Da..原创 2021-10-24 15:36:21 · 260 阅读 · 0 评论 -
2021-10-21 PAT(4)
1083 List Grades (25 分)Given a list ofNstudent records with name, ID and grade. You are supposed to sort the records with respect to the grade in non-increasing order, and output those student records of which the grades are in a given interval.Input..原创 2021-10-24 13:15:53 · 329 阅读 · 0 评论 -
2021-10-20 PAT(3)
1064 Complete Binary Search Tree (30 分)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. The right subtree of a node原创 2021-10-21 18:08:39 · 178 阅读 · 0 评论 -
2021-09-28 PAT甲级(2) C语言
1004 Counting Leaves (30 分)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 test case. Each case starts with a line containing0&l.原创 2021-10-19 15:27:10 · 615 阅读 · 0 评论 -
2021-09-27 PAT甲级(1)
目录1001 A+B Format (20 分)Input Specification:Output Specification:Sample Input:Sample Output:1002 A+B for Polynomials (25 分)Input Specification:Output Specification:Sample Input:Sample Output:算法思想1001 A+B Format (20 分)Calculatea.原创 2021-09-28 20:17:22 · 255 阅读 · 0 评论
分享