
PAT
aqi1221
19计算机考研
展开
-
PAT A1001
1001 A+B Format (20)(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).InputEa...原创 2018-06-18 23:35:25 · 234 阅读 · 0 评论 -
PAT A1002
1002 A+B for Polynomials (25)(25 分)This time, you are supposed to find A+B where A and B are two polynomials.InputEach input file contains one test case. Each case occupies 2 lines, and each line cont...2018-06-19 10:00:05 · 292 阅读 · 0 评论 -
PAT A1003
1003 Emergency (25)(25 分)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 tea...转载 2018-07-10 22:41:29 · 430 阅读 · 0 评论 -
A1004
1004 Counting Leaves (30)(30 分)A family hierarchy is usually presented by a pedigree tree. Your job is to count those family members who have no child.InputEach input file contains one test case. Each...转载 2018-07-12 21:27:40 · 317 阅读 · 0 评论