
PAT甲级
文章平均质量分 83
石前有座桥
学生
展开
-
1109. Group Photo (25)
1109. Group Photo (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueFormation is very important when taking a grou原创 2017-09-12 20:47:58 · 302 阅读 · 0 评论 -
1132. Cut Integer (20)
1132. Cut Integer (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueCutting an integer means to cut a K digits lon原创 2017-09-17 20:43:53 · 287 阅读 · 0 评论 -
1087. All Roads Lead to Rome (30)
1087. All Roads Lead to Rome (30)时间限制200 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueIndeed there are many different tou转载 2017-09-08 18:15:18 · 364 阅读 · 0 评论 -
1076. Forwards on Weibo (30)
1076. Forwards on Weibo (30)时间限制3000 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueWeibo is known as the Chinese version o原创 2017-08-30 17:52:43 · 286 阅读 · 0 评论 -
1013. Battle Over Cities (25)
时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueIt is vitally important to have all the cities connected by highways in a wa原创 2017-05-09 14:04:05 · 320 阅读 · 0 评论 -
1072. Gas Station (30)
1072. Gas Station (30)时间限制200 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA gas station has to be built at such a locati转载 2017-09-07 19:04:20 · 211 阅读 · 0 评论 -
1034. Head of a Gang (30)
1034. Head of a Gang (30)时间限制100 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueOne way that the police finds the head of a转载 2017-08-29 16:50:06 · 328 阅读 · 0 评论 -
1021. Deepest Root (25)
时间限制1500 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA graph which is connected and acyclic can be considered a tree. The height转载 2017-05-09 14:22:13 · 354 阅读 · 0 评论 -
1122. Hamiltonian Cycle (25)
时间限制300 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueThe "Hamilton cycle problem" is to find a simple cycle that contains every v原创 2017-05-09 13:43:52 · 331 阅读 · 0 评论 -
1053. Path of Equal Weight (30)
时间限制100 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueGiven a non-empty tree with root R, and with weight Wi assigned to each tree原创 2017-05-10 14:56:36 · 309 阅读 · 0 评论 -
1115. Counting Nodes in a BST (30)
时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA Binary Search Tree (BST) is recursively defined as a binary tree which has原创 2017-05-13 22:28:08 · 227 阅读 · 0 评论 -
1110. Complete Binary Tree (25)
时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueGiven a tree, you are supposed to tell if it is a complete binary tree.I原创 2017-05-11 21:08:14 · 252 阅读 · 0 评论 -
1023. Have Fun with Numbers (20)
1023. Have Fun with Numbers (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueNotice that the number 123456789 is原创 2017-07-25 20:25:01 · 185 阅读 · 0 评论 -
1015. Reversible Primes (20)
1015. Reversible Primes (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA reversible prime in any number system原创 2017-08-01 19:36:44 · 222 阅读 · 0 评论 -
1024. Palindromic Number (25)
1024. Palindromic Number (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA number that will be the same when it原创 2017-07-22 18:56:10 · 181 阅读 · 0 评论 -
1133. Splitting A Linked List (25)
1133. Splitting A Linked List (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueGiven a singly linked list, you ar原创 2017-09-17 21:28:25 · 797 阅读 · 0 评论 -
1111. Online Map (30)
1111. Online Map (30)时间限制300 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueInput our current position and a destination, a原创 2017-09-09 18:17:48 · 267 阅读 · 0 评论 -
1124. Raffle for Weibo Followers (20)
1124. Raffle for Weibo Followers (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueJohn got a full mark on PAT. He原创 2017-09-09 19:58:53 · 173 阅读 · 0 评论 -
1114. Family Property (25)
1114. Family Property (25)时间限制150 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueThis time, you are supposed to help us col原创 2017-09-12 20:26:48 · 209 阅读 · 0 评论 -
1101. Quick Sort (25)
1101. Quick Sort (25)时间限制200 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CAO, PengThere is a classical process named partition in转载 2017-09-12 20:24:30 · 175 阅读 · 0 评论 -
1112. Stucked Keyboard (20)
1112. Stucked Keyboard (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueOn a broken keyboard, some of the keys ar原创 2017-09-11 20:00:11 · 173 阅读 · 0 评论 -
1118. Birds in Forest (25)
1118. Birds in Forest (25)时间限制150 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueSome scientists took pictures of thousands原创 2017-09-11 19:50:34 · 178 阅读 · 0 评论 -
1113. Integer Set Partition (25)
1113. Integer Set Partition (25)时间限制150 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueGiven a set of N (> 1) positive inte原创 2017-09-11 19:44:06 · 179 阅读 · 0 评论 -
1030. Travel Plan (30)
1030. Travel Plan (30)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA traveler's map gives the distances between c原创 2017-09-02 16:51:22 · 251 阅读 · 0 评论 -
1003. Emergency (25)
1003. Emergency (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueAs an emergency rescue team leader of a city, yo原创 2017-09-01 16:37:32 · 206 阅读 · 0 评论 -
1121. Damn Single (25)
1121. Damn Single (25)时间限制300 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, Yue"Damn Single (单身狗)" is the Chinese nickname fo原创 2017-09-10 21:02:28 · 180 阅读 · 0 评论 -
1117. Eddington Number(25)
1117. Eddington Number(25)时间限制250 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueBritish astronomer Eddington liked to ride转载 2017-09-10 19:56:58 · 194 阅读 · 0 评论 -
1116. Come on! Let's C (20)
1116. Come on! Let's C (20)时间限制200 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, Yue"Let's C" is a popular and fun programmin原创 2017-08-01 19:28:29 · 219 阅读 · 0 评论 -
1134. Vertex Cover (25)
1134. Vertex Cover (25)时间限制600 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA vertex cover of a graph is a set of vertice原创 2017-09-17 21:47:57 · 736 阅读 · 0 评论 -
1127. ZigZagging on a Tree (30)
1127. ZigZagging on a Tree (30)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueSuppose that all the keys in a binary原创 2017-09-09 20:06:17 · 300 阅读 · 0 评论 -
1126. Eulerian Path (25)
1126. Eulerian Path (25)时间限制300 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueIn graph theory, an Eulerian path is a path原创 2017-09-09 20:04:18 · 221 阅读 · 0 评论 -
1125. Chain the Ropes (25)
1125. Chain the Ropes (25)时间限制200 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueGiven some segments of rope, you are suppo原创 2017-09-09 20:01:55 · 288 阅读 · 0 评论 -
1071. Speech Patterns (25)
时间限制300 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者HOU, QimingPeople often have a preference among synonyms of the same word. For exampl转载 2017-06-12 15:06:31 · 211 阅读 · 0 评论 -
1059. Prime Factors (25)
1059. Prime Factors (25)时间限制100 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者HE, QinmingGiven any positive integer N, you are supp原创 2017-06-23 14:41:14 · 206 阅读 · 0 评论 -
1108. Finding Average (20)
时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueThe basic task is simple: given N real numbers, you are supposed to calculat转载 2017-06-11 16:00:33 · 178 阅读 · 0 评论 -
1052. Linked List Sorting (25)
时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA linked list consists of a series of structures, which are not necessarily转载 2017-05-16 14:35:00 · 224 阅读 · 0 评论 -
1032. Sharing (25)
时间限制100 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueTo store English words, one method is to use linked lists and store a word l原创 2017-05-15 18:56:52 · 203 阅读 · 0 评论 -
1107. Social Clusters (30)
时间限制1000 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueWhen register on a social network, you are always asked to specify your hob转载 2017-05-14 13:26:29 · 210 阅读 · 0 评论 -
1099. Build A Binary Search Tree (30)
时间限制100 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA Binary Search Tree (BST) is recursively defined as a binary tree which has原创 2017-05-13 19:37:26 · 213 阅读 · 0 评论 -
1004. Counting Leaves (30)
时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA family hierarchy is usually presented by a pedigree tree. Your job is to cou原创 2017-05-13 16:48:16 · 256 阅读 · 0 评论