pat
文章平均质量分 83
chengxiaona
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
PAT甲级1005-1008
1005. Spell It Right (20)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 contain原创 2017-10-09 21:00:57 · 486 阅读 · 0 评论 -
PAT甲级1001-1004
pat甲级 1001-1004代码及分析原创 2017-10-09 20:44:50 · 463 阅读 · 0 评论 -
1009-1012
1009. Product of Polynomials (25)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 ea原创 2017-10-11 16:08:25 · 424 阅读 · 0 评论 -
1013-1016
1013. Battle Over Cities (25)It is vitally important to have all the cities connected by highways in a war. If a city is occupied by the enemy, all the highways from/toward that city are closed. We mus原创 2017-11-08 22:07:26 · 274 阅读 · 0 评论 -
1017-1018
1017. Queueing at Bank (25)Suppose a bank has K windows open for service. There is a yellow line in front of the windows which devides the waiting area into two parts. All the customers have to wait in原创 2017-11-28 22:03:15 · 248 阅读 · 0 评论 -
pat 甲级 1023-1026
1023. Have Fun with Numbers (20)Notice that the number 123456789 is a 9-digit number consisting exactly the numbers from 1 to 9, with no duplication. Double it we will obtain 246913578, which happens t原创 2017-11-28 22:04:55 · 274 阅读 · 0 评论 -
pat 甲级 1027-1030
1027. Colors in Mars (20)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原创 2017-11-28 22:06:09 · 347 阅读 · 0 评论 -
pat 甲级 1019 - 1022
1019. General Palindromic Number (20)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 d原创 2017-11-28 22:04:12 · 331 阅读 · 0 评论 -
1031-1034
1031. Hello World for U (20)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原创 2017-12-01 15:54:50 · 325 阅读 · 0 评论
分享