PAT甲级
文章平均质量分 71
qq_45329404
这个作者很懒,什么都没留下…
展开
-
PAT-1036题解
1036 Boys vs Girls (25 分)This time you are asked to tell the difference between the lowest grade of all the male students and the highest grade of all the female students.Input Specification:Each input file contains one test case. Each case contains a p原创 2021-02-21 22:15:51 · 130 阅读 · 0 评论 -
PAT-1042题解
1042 Shuffling Machine (20 分)Shuffling is a procedure used to randomize a deck of playing cards. Because standard shuffling techniques are seen as weak, and in order to avoid “inside jobs” where employees collaborate with gamblers by performing inadequate原创 2021-02-09 17:47:30 · 168 阅读 · 0 评论 -
PAT-1001题解
1001 A+B Format (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).Input Specification:Each input file contains one test case. Each cas原创 2021-01-29 15:22:59 · 169 阅读 · 0 评论