![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
PAT(A)
文章平均质量分 66
xiaobai12123
这个作者很懒,什么都没留下…
展开
-
1001. A+B Format (20)
PAT 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 Each input f原创 2017-04-23 19:59:19 · 165 阅读 · 0 评论 -
1002. A+B for Polynomials (25)
PAT This time, you are supposed to find A+B where A and B are two polynomials. Input Each input file contains one test case. Each case occupies 2 lines, and each line contains the informati原创 2017-04-24 20:16:15 · 259 阅读 · 0 评论 -
1025. PAT Ranking (25)
PAT Programming Ability Test (PAT) is organized by the College of Computer Science and Technology of Zhejiang University. Each test is supposed to run simultaneously in several places, and the rankli原创 2017-05-26 10:10:20 · 191 阅读 · 0 评论 -
1008. Elevator (20)
PAT 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 order. It costs原创 2017-04-26 17:34:47 · 246 阅读 · 0 评论 -
1005. Spell It Right (20)
PAT 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 one t原创 2017-04-26 18:10:08 · 182 阅读 · 0 评论 -
1031. Hello World for U (20)
PAT Given any string of N (>=5) characters, you are asked to form the characters into the shape of U. For example, “helloworld” can be printed as: h d e l l r lowo That is, the原创 2017-05-30 11:32:51 · 218 阅读 · 0 评论 -
1027. Colors in Mars (20)
PAT People in Mars represent the colors in their computers in a similar way as the Earth people. That is, a color is represented by a 6-digit number, where the first 2 digits are for Red, the middle原创 2017-05-20 16:46:51 · 173 阅读 · 0 评论 -
1019. General Palindromic Number (20)
PAT A number that will be the same when it is written forwards or backwards is known as a Palindromic Number. For example, 1234321 is a palindromic number. All single digit numbers are palindromic nu原创 2017-05-21 16:23:29 · 203 阅读 · 0 评论 -
1006. Sign In and Sign Out (25)
PAT 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 signing in’s and out’原创 2017-08-28 14:15:52 · 430 阅读 · 0 评论