![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
pat甲级
文章平均质量分 81
fantasydreams
这个作者很懒,什么都没留下…
展开
-
1042. Shuffling Machine (20)
1042. Shuffling Machine (20) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Shuffling is a procedure used to randomize a deck原创 2018-01-21 18:12:09 · 139 阅读 · 0 评论 -
1065. A+B and C (64bit) (20)
1065. A+B and C (64bit) (20) 时间限制 100 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 HOU, QimingGiven three integers A, B and C in [-263, 263], you are原创 2018-01-15 15:20:13 · 146 阅读 · 0 评论 -
1025. PAT Ranking (25)
1025. PAT Ranking (25) 时间限制 200 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, YueProgramming Ability Test (PAT) is organized by the College of Co原创 2018-01-15 16:38:06 · 157 阅读 · 0 评论 -
1011. World Cup Betting (20)
1011. World Cup Betting (20) 时间限制 400 ms 内存限制 65536 kB 代码长度 16000 B 判题程序 Standard 作者 CHEN, YueWith the 2010 FIFA World Cup running, football原创 2018-01-23 15:27:24 · 111 阅读 · 0 评论 -
1006. Sign In and Sign Out (25)
1006. Sign In and Sign Out (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, YueAt the beginning of every day, the first person原创 2018-01-23 15:44:49 · 172 阅读 · 0 评论 -
1036. Boys vs Girls (25)
1036. Boys vs Girls (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, YueThis time you are asked to tell the difference between原创 2018-01-23 16:17:54 · 159 阅读 · 0 评论 -
1012. The Best Rank (25)
1012. The Best Rank (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, YueTo evaluate the performance of our first year CS major原创 2018-01-30 20:21:15 · 145 阅读 · 0 评论 -
1028. List Sorting (25)
1028. List Sorting (25) 时间限制 200 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, YueExcel can sort records according to any column. Now you原创 2018-01-30 20:39:02 · 160 阅读 · 0 评论 -
1055. The World's Richest (25)
1055. The World’s Richest (25) 时间限制 400 ms 内存限制 128000 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, YueForbes magazine publishes every year its list of原创 2018-01-30 23:07:24 · 184 阅读 · 0 评论 -
问题 B: Hello World for U
问题 B: Hello World for U 时间限制: 1 Sec 内存限制: 32 MB 献花: 84 解决: 64 [献花][花圈][TK题库] 题目描述 Given any string of N (>=5) characters, you are asked to form the characters into the shape of U. For example,原创 2018-01-10 19:37:43 · 639 阅读 · 0 评论 -
1019. General Palindromic Number (20)
1019. General Palindromic Number (20) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, YueA number that will be the same when i原创 2018-01-24 13:59:09 · 147 阅读 · 0 评论 -
1027. Colors in Mars (20)
1027. Colors in Mars (20) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, YuePeople in Mars represent the colors in their computer原创 2018-01-24 14:00:41 · 224 阅读 · 0 评论 -
1035. Password (20)
1035. Password (20) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, YueTo prepare for PAT, the judge sometimes has to generate ran原创 2018-01-24 14:03:32 · 131 阅读 · 0 评论 -
1077. Kuchiguse (20)
1077. Kuchiguse (20) 时间限制 100 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 HOU, QimingThe Japanese language is notorious for its sentence endi原创 2018-01-24 14:04:43 · 218 阅读 · 0 评论 -
1058. A+B in Hogwarts (20)
1058. A+B in Hogwarts (20) 时间限制 50 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, YueIf you are a fan of Harry Potter, you would know the原创 2018-01-24 14:02:14 · 158 阅读 · 0 评论 -
1082. Read Number in Chinese (25)
1082. Read Number in Chinese (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, YueGiven an integer with no more than 9 digits,原创 2018-02-02 15:07:00 · 213 阅读 · 0 评论 -
1075. PAT Judge (25)
1075. PAT Judge (25) 时间限制 200 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, YueThe ranklist of PAT is generated from the status list,原创 2018-02-02 16:23:02 · 141 阅读 · 0 评论 -
1083. List Grades (25)
1083. List Grades (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, YueGiven a list of N student records with name, ID and grad原创 2018-02-02 16:40:09 · 145 阅读 · 0 评论 -
1080. Graduate Admission (30)
1080. Graduate Admission (30) 时间限制 200 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, YueIt is said that in 2013, there were about 100 gra原创 2018-02-02 18:31:34 · 156 阅读 · 0 评论 -
1095. Cars on Campus (30)
1095. Cars on Campus (30) 时间限制 220 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, YueZhejiang University has 6 campuses and a lot of gates. Fr原创 2018-02-02 21:59:53 · 624 阅读 · 0 评论 -
1069. The Black Hole of Numbers (20)
The Black Hole of Numbers (20) 时间限制 100 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, YueFor any 4-digit integer except the ones with al原创 2018-02-02 22:03:40 · 151 阅读 · 0 评论 -
1092. To Buy or Not to Buy (20)
1092. To Buy or Not to Buy (20) 时间限制 100 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, YueEva would like to make a string of beads with h原创 2018-02-03 14:06:16 · 138 阅读 · 0 评论 -
1041. Be Unique (20)
1041. Be Unique (20) 时间限制 100 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, YueBeing unique is so important to people on Mars that even t原创 2018-02-04 00:15:42 · 148 阅读 · 0 评论 -
1033. To Fill or Not to Fill (25)
1033. To Fill or Not to Fill (25) 时间限制 100 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 ZHANG, GuochuanWith highways available, driving a car原创 2018-01-27 21:15:55 · 345 阅读 · 0 评论 -
1071. Speech Patterns (25)
1071. Speech Patterns (25) 时间限制 300 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 HOU, QimingPeople often have a preference among synonyms of t...原创 2018-02-09 00:25:12 · 205 阅读 · 0 评论 -
1050. String Subtraction (20)
1050. String Subtraction (20) 时间限制 100 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, YueGiven two strings S1 and S2, S = S1 - S2 is defin原创 2018-02-04 13:00:28 · 134 阅读 · 0 评论 -
1048. Find Coins (25)
1048. Find Coins (25) 时间限制 100 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, YueEva loves to collect coins from all over the universe, in原创 2018-02-04 14:30:07 · 175 阅读 · 0 评论 -
1037. Magic Coupon (25)
1037. Magic Coupon (25) 时间限制 100 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, YueThe magic shop in Mars is offering some magic coupo原创 2018-02-04 15:16:04 · 202 阅读 · 0 评论 -
1067. Sort with Swap(0,*) (25)
1067. Sort with Swap(0,*) (25) 时间限制 150 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, YueGiven any permutation of the numbers {0, 1, 2,…,原创 2018-02-04 16:42:39 · 129 阅读 · 0 评论 -
1038. Recover the Smallest Number (30)
1038. Recover the Smallest Number (30) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, YueGiven a collection of number segments, y原创 2018-02-04 17:27:11 · 137 阅读 · 0 评论 -
1085. Perfect Sequence (25)
1085. Perfect Sequence (25) 时间限制 300 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CAO, PengGiven a sequence of positive integers and another p原创 2018-02-04 18:01:32 · 110 阅读 · 0 评论 -
1010. Radix (25)
1010. Radix (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, YueGiven a pair of positive integers, for example, 6 and 110, can原创 2018-02-04 21:58:09 · 633 阅读 · 0 评论 -
1089. Insert or Merge (25)
1089. Insert or Merge (25) 时间限制 200 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, YueAccording to Wikipedia: Insertion sort iterates, co原创 2018-02-05 00:51:18 · 167 阅读 · 0 评论 -
1029. Median (25)
1029. Median (25) 时间限制 1000 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, YueGiven an increasing sequence S of N integers, the median is t原创 2018-02-05 12:50:33 · 162 阅读 · 0 评论 -
1009. Product of Polynomials (25)
1009. Product of Polynomials (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue This time, you are supposed to find A*B where A and B原创 2018-01-20 21:19:04 · 171 阅读 · 0 评论 -
1093. Count PAT's (25)
1093. Count PAT’s (25) 时间限制 120 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CAO, PengThe string APPAPT contains two PAT’s as substrings. The原创 2018-01-28 23:54:56 · 125 阅读 · 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 the famou原创 2018-02-05 14:53:14 · 147 阅读 · 0 评论 -
1104. Sum of Number Segments (20)
1104. Sum of Number Segments (20) 时间限制 200 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CAO, PengGiven a sequence of positive numbers, a segme...原创 2018-02-10 14:41:38 · 225 阅读 · 0 评论 -
1008. Elevator (20)
1008. Elevator (20) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, YueThe highest building in our city has only one elevator. A r...原创 2018-02-10 15:07:10 · 121 阅读 · 0 评论 -
1059. Prime Factors (25)
1059. Prime Factors (25) 时间限制 100 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 HE, QinmingGiven any positive integer N, you are supposed t原创 2018-02-05 16:11:38 · 141 阅读 · 0 评论