![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
PAT
萬子堯
这个作者很懒,什么都没留下…
展开
-
1025 PAT Ranking (25 point(s))
问题描述: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 rankl...原创 2019-03-12 20:49:25 · 89 阅读 · 0 评论 -
1069 The Black Hole of Numbers (20 point(s))
问题描述:For any 4-digit integer except the ones with all the digits being the same, if we sort the digits in non-increasing order first, and then in non-decreasing order, a new number can be obtained by...原创 2019-04-01 15:22:38 · 153 阅读 · 0 评论 -
1093 Count PAT's (25 point(s))
问题描述:The string APPAPT contains two PAT’s as substrings. The first one is formed by the 2nd, the 4th, and the 6th characters, and the second one is formed by the 3rd, the 4th, and the 6th characters....原创 2019-03-28 21:13:09 · 112 阅读 · 0 评论 -
1101 Quick Sort (25 point(s))
问题描述:There is a classical process named partition in the famous quick sort algorithm. In this process we typically choose one element as the pivot. Then the elements less than the pivot are moved to ...原创 2019-03-28 21:17:02 · 111 阅读 · 0 评论 -
1032 Sharing (25 point(s))
问题描述:To store English words, one method is to use linked lists and store a word letter by letter. To save some space, we may let the words share the same sublist if they share the same suffix. For ex...原创 2019-05-14 14:42:35 · 149 阅读 · 0 评论 -
1052 Linked List Sorting (25 point(s))
问题描述:A linked list consists of a series of structures, which are not necessarily adjacent in memory. We assume that each structure contains an integer key and a Next pointer to the next structure. No...原创 2019-05-14 16:06:15 · 109 阅读 · 0 评论 -
1060 Are They Equal (25 point(s))
问题描述:If a machine can save only 3 significant digits, the float numbers 12300 and 12358.9 are considered equal since they are both saved as 0.123×10^5 with simple chopping. Now given the number of si...原创 2019-05-16 14:46:37 · 137 阅读 · 0 评论