
PAT习题
TAO先森
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
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 defined to be the remaining string after taking all the characters in...原创 2018-04-23 15:43:31 · 183 阅读 · 0 评论 -
1034. Head of a Gang (30)
1034. Head of a Gang (30) 时间限制 100 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue One way...原创 2018-04-01 17:21:14 · 190 阅读 · 0 评论 -
1038. Recover the Smallest Number (30)
1038. Recover the Smallest Number (30) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN,...原创 2018-04-01 21:21:24 · 113 阅读 · 0 评论 -
1037. Magic Coupon (25)
1037. Magic Coupon (25) 时间限制 100 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue The magic...原创 2018-04-01 20:31:03 · 169 阅读 · 0 评论 -
1036. Boys vs Girls (25)
1036. Boys vs Girls (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue This tim...原创 2018-04-01 19:54:13 · 196 阅读 · 0 评论 -
1035. Password (20)
1035. Password (20) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue To prepare fo...原创 2018-04-01 19:29:33 · 129 阅读 · 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, Guo...原创 2018-03-31 23:45:38 · 174 阅读 · 0 评论 -
1032. Sharing (25)
1032. Sharing (25) 时间限制 100 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue To store Engli...原创 2018-03-31 16:17:38 · 189 阅读 · 0 评论 -
1031. Hello World for U (20)
#include<iostream> #include<fstream> #include<string> #include<algorithm> #include<vector> #include<queue> #define inf 1000000 using namespace std; int main() { /...原创 2018-03-31 14:55:02 · 139 阅读 · 0 评论 -
1030. Travel Plan (30)
1030. Travel Plan (30) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue A traveler...原创 2018-03-31 14:21:12 · 211 阅读 · 0 评论 -
1024. Palindromic Number (25)
1024. Palindromic Number (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue A n...原创 2018-03-20 21:27:27 · 120 阅读 · 0 评论 -
1045. Favorite Color Stripe (30)
1045. Favorite Color Stripe (30) 时间限制 200 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue ...原创 2018-04-14 18:12:59 · 211 阅读 · 0 评论 -
1039. Course List for Student (25)
1039. Course List for Student (25)时间限制200 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueZhejiang University has 40000 students and provides 2500 courses. Now given the student name lists of all th...原创 2018-04-02 15:52:34 · 145 阅读 · 0 评论 -
1046. Shortest Distance (20)
1046. Shortest Distance (20) 时间限制 100 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue The ...原创 2018-04-14 22:35:56 · 154 阅读 · 0 评论 -
1049. Counting Ones (30)
1049. Counting Ones (30)时间限制100 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueThe task is simple: given any positive integer N, you are supposed to count the total number of 1's in the decimal for...原创 2018-04-22 20:21:50 · 179 阅读 · 0 评论 -
1044. Shopping in Mars (25)
1044. Shopping in Mars (25) 时间限制 100 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Shopp...原创 2018-04-12 20:54:50 · 147 阅读 · 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, including some other planets like Mars. One day she visited a univ...原创 2018-04-22 16:40:21 · 165 阅读 · 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 computers in a similar way as the Earth people. That is, a color is repr...原创 2018-03-29 16:50:37 · 113 阅读 · 0 评论 -
1026. Table Tennis (30)
1026. Table Tennis (30)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA table tennis club has N tables available to the public. The tables are numbered from 1 to N. For any pair of players,...原创 2018-03-29 16:20:20 · 223 阅读 · 0 评论 -
1043. Is It a Binary Search Tree (25)
1043. Is It a Binary Search Tree (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, ...原创 2018-04-10 11:02:22 · 129 阅读 · 0 评论 -
1042. Shuffling Machine (20)
1042. Shuffling Machine (20) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Shuf...原创 2018-04-02 21:28:03 · 130 阅读 · 0 评论 -
1041. Be Unique (20)
1041. Be Unique (20) 时间限制 100 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Being unique...原创 2018-04-02 19:51:00 · 120 阅读 · 0 评论 -
1040. Longest Symmetric String (25)
1040. Longest Symmetric String (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yu...原创 2018-04-02 19:31:30 · 141 阅读 · 0 评论 -
1047. Student List for Course (25)
1047. Student List for Course (25) 时间限制 400 ms 内存限制 64000 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue...原创 2018-04-14 23:16:24 · 167 阅读 · 0 评论 -
1023. Have Fun with Numbers (20)
1023. Have Fun with Numbers (20) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue ...原创 2018-03-20 20:16:29 · 144 阅读 · 0 评论 -
1017. Queueing at Bank (25)
1017. Queueing at Bank (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueSuppose a bank has K windows open for service. There is a yellow line in front of the windows which devides the wai...原创 2018-03-14 15:41:11 · 145 阅读 · 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原创 2018-02-07 15:29:33 · 125 阅读 · 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 majored students, we consider their grades of three courses only: C -...原创 2018-03-06 20:12:02 · 137 阅读 · 0 评论 -
1008. Elevator (20)
1008. Elevator (20) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue The highest building in our city has only one ele原创 2018-02-07 11:10:17 · 111 阅读 · 0 评论 -
1007. Maximum Subsequence Sum (25)
1007. Maximum Subsequence Sum (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Given a sequence of K integers { N原创 2018-02-06 22:06:00 · 144 阅读 · 0 评论 -
1006. Sign In and Sign Out (25)
1006. Sign In and Sign Out (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue At the beginning of every day, the fi原创 2018-02-06 18:45:43 · 147 阅读 · 0 评论 -
1005. Spell It Right (20)
1005. Spell It Right (20) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Given a non-negative integer N, your task i原创 2018-02-06 15:58:51 · 138 阅读 · 0 评论 -
1004. Counting Leaves (30)
1004. Counting Leaves (30) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue A family hierarchy is usually presented by a原创 2018-02-06 14:36:00 · 120 阅读 · 0 评论 -
1003. Emergency (25)
1003. Emergency (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue As an emergency rescue team leader of a city, yo原创 2018-02-05 20:19:56 · 114 阅读 · 0 评论 -
1002. A+B for Polynomials (25)
1002. A+B for Polynomials (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue This time, you are supposed to find A+原创 2018-02-05 12:55:14 · 147 阅读 · 0 评论 -
1001. A+B Format (20)
1001. A+B Format (20) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Calculate a + b and output the sum in standard原创 2018-02-05 10:47:26 · 176 阅读 · 1 评论 -
1010. Radix (25)
1010. Radix (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Given a pair of positive integers, for example, 6 an原创 2018-02-07 20:57:38 · 123 阅读 · 0 评论 -
1013. Battle Over Cities (25)
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 war. If a city is occupied by the enemy...原创 2018-03-07 20:51:57 · 145 阅读 · 0 评论 -
1018. Public Bike Management (30)
1018. Public Bike Management (30)There is a public bike service in Hangzhou City which provides great convenience to the tourists from all over the world. One may rent a bike at any station and retur...原创 2018-03-15 11:03:32 · 188 阅读 · 0 评论 -
1022. Digital Library (30)
1022. Digital Library (30)时间限制1000 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA Digital Library contains millions of books, stored according to their titles, authors, key words of their abstrac...原创 2018-03-20 12:42:12 · 144 阅读 · 0 评论