摘要:
1028 List Sorting (25 分) Excel can sort records according to any column. Now you are supposed to imitate this function. Input Specification: Each inpu 阅读全文
posted @ 2021-08-07 15:38
shiff
阅读(49)
评论(0)
推荐(0)
摘要:
1014 福尔摩斯的约会 (20 分) 大侦探福尔摩斯接到一张奇怪的字条:我们约会吧! 3485djDkxh4hhGE 2984akDfkkkkggEdsb s&hgsfdk d&Hyscvnm。大侦探很快就明白了,字条上奇怪的乱码实际上就是约会的时间星期四 14:04,因为前面两字符串中第 1 对 阅读全文
posted @ 2021-08-07 11:32
shiff
阅读(85)
评论(0)
推荐(0)
摘要:
【PAT甲级】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 com 阅读全文
posted @ 2021-08-07 11:29
shiff
阅读(43)
评论(0)
推荐(0)
摘要:
1035 Password (20 分) To prepare for PAT, the judge sometimes has to generate random passwords for the users. The problem is that there are always some 阅读全文
posted @ 2021-08-07 11:28
shiff
阅读(41)
评论(0)
推荐(0)
摘要:
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 i 阅读全文
posted @ 2021-08-07 11:28
shiff
阅读(26)
评论(0)
推荐(0)
摘要:
1025 PAT Ranking (25 分) Programming Ability Test (PAT) is organized by the College of Computer Science and Technology of Zhejiang University. Each tes 阅读全文
posted @ 2021-08-07 11:26
shiff
阅读(34)
评论(0)
推荐(0)
摘要:
1015 德才论 (25 分) 宋代史学家司马光在《资治通鉴》中有一段著名的“德才论”:“是故才德全尽谓之圣人,才德兼亡谓之愚人,德胜才谓之君子,才胜德谓之小人。凡取人之术,苟不得圣人,君子而与之,与其得小人,不若得愚人。” 现给出一批考生的德才分数,请根据司马光的理论给出录取排名。 输入格式: 输 阅读全文
posted @ 2021-08-07 11:25
shiff
阅读(111)
评论(0)
推荐(0)