![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
PAT甲级
cs0201
计算机科学在读研究生
展开
-
PAT甲级——A+B Format
PAT甲级——A+B Format 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 Specificati...原创 2019-07-14 12:42:40 · 72 阅读 · 0 评论 -
PAT甲级——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 each line contains the informati...原创 2019-07-14 12:57:27 · 134 阅读 · 0 评论 -
PAT甲级——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 test case. Each case starts w...原创 2019-07-14 19:37:11 · 122 阅读 · 0 评论 -
2019年PAT甲级考试第二题
2019年PAT甲级考试第二题 题目大意是给你两个链表L1和L2,然后在L1中每隔两个节点插入一个L2中的节点。 节点结构为Address data next,其中Address 和 next均是以字符串的格式给出。当next 为 -1表示下一节点为空 输入样例: 首行给出两个链表的首地址和节点数N,接着是N行节点信息 00100 01000 4 38975 5 00102 00100 6 389...原创 2019-09-10 21:22:28 · 241 阅读 · 0 评论