pat甲级练习
SDUTyangkun
这个作者很懒,什么都没留下…
展开
-
1024. Palindromic Number (25)
1024. Palindromic Number (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue A number that will be the same when it原创 2017-09-13 21:05:50 · 209 阅读 · 0 评论 -
1019. General Palindromic Number (20)
1019. General Palindromic Number (20) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue A number that will be the same原创 2017-09-09 16:04:03 · 201 阅读 · 0 评论 -
1023. Have Fun with Numbers (20)
1023. Have Fun with Numbers (20) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Notice that the number 123456789 is原创 2017-09-09 17:12:11 · 229 阅读 · 0 评论 -
1027. Colors in Mars (20)
1027. Colors in Mars (20) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue People in Mars represent the colors in thei原创 2017-09-09 17:40:41 · 186 阅读 · 0 评论 -
1031. Hello World for U (20)
1031. Hello World for U (20) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Given any string of N (>=5) characters,原创 2017-09-09 20:31:16 · 225 阅读 · 0 评论 -
1035. Password (20)
1035. Password (20) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue To prepare for PAT, the judge sometimes has to ge原创 2017-09-09 21:47:49 · 326 阅读 · 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原创 2017-09-11 10:50:14 · 242 阅读 · 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原创 2017-09-11 11:23:10 · 295 阅读 · 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原创 2017-09-11 19:46:21 · 215 阅读 · 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原创 2017-09-11 20:21:40 · 244 阅读 · 0 评论 -
1013. Battle Over Cities (25)
1013. Battle Over Cities (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue It is vitally important to have all the原创 2017-09-12 10:13:54 · 241 阅读 · 0 评论 -
1017. Queueing at Bank (25)
1017. Queueing at Bank (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Suppose a bank has K windows open for ser原创 2017-09-12 20:10:15 · 371 阅读 · 0 评论 -
1020. Tree Traversals (25)已知后序中序 层次遍历
1020. Tree Traversals (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Suppose that all the keys in a binary tree原创 2017-09-12 20:56:02 · 269 阅读 · 0 评论 -
1021. Deepest Root (25)
1021. Deepest Root (25) 时间限制 1500 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue A graph which is connected and acyclic can b原创 2017-09-12 21:43:56 · 326 阅读 · 0 评论 -
1045. Favorite Color Stripe (30)
1045. Favorite Color Stripe (30) 时间限制 200 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Eva is trying to make her own color原创 2017-09-17 10:20:01 · 283 阅读 · 0 评论 -
1011. World Cup Betting
1011. World Cup Betting (20) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue With the 2010 FIFA World Cup running, fo原创 2017-09-08 20:26:33 · 220 阅读 · 0 评论 -
1025. PAT Ranking (25)
1025. PAT Ranking (25) 时间限制 200 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Programming Ability Test (PAT) is organized by原创 2017-09-14 20:17:00 · 247 阅读 · 0 评论 -
1028. List Sorting (25)
1028. List Sorting (25) 时间限制 200 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Excel can sort records according to any colum原创 2017-09-14 20:38:32 · 215 阅读 · 0 评论 -
1029. Median (25)
1029. Median (25) 时间限制 1000 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Given an increasing sequence S of N integers, the原创 2017-09-14 21:07:22 · 237 阅读 · 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原创 2017-09-14 21:37:17 · 211 阅读 · 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原创 2017-09-14 21:46:13 · 208 阅读 · 0 评论 -
1058. A+B in Hogwarts (20)
1058. A+B in Hogwarts (20) 时间限制 50 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue If you are a fan of Harry Potter, you would原创 2017-09-15 19:30:03 · 259 阅读 · 0 评论 -
1059. Prime Factors (25)
1059. Prime Factors (25) 时间限制 100 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 HE, Qinming Given any positive integer N, you are supp原创 2017-09-15 20:59:25 · 307 阅读 · 0 评论 -
1064. Complete Binary Search Tree (30)
1064. Complete Binary Search Tree (30) 时间限制 100 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue A Binary Search Tree (BST) is原创 2017-09-16 17:05:47 · 308 阅读 · 0 评论 -
1065. A+B and C (64bit) (20)
1065. A+B and C (64bit) (20) 时间限制 100 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 HOU, Qiming Given three integers A, B and C in [-2原创 2017-09-16 17:27:58 · 326 阅读 · 0 评论 -
1107. Social Clusters (30)
1107. Social Clusters (30) 时间限制 1000 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue When register on a social network, you ar原创 2017-09-16 19:56:00 · 256 阅读 · 0 评论 -
1030. Travel Plan (30)
1030. Travel Plan (30) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue A traveler's map gives the distances between c原创 2017-09-16 21:46:02 · 211 阅读 · 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原创 2017-09-08 16:43:40 · 319 阅读 · 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原创 2017-09-08 17:16:22 · 213 阅读 · 0 评论 -
1013 数素数 (20 分)
1013数素数(20分) 令Pi表示第i个素数。现任给两个正整数M≤N≤104,请输出PM到PN的所有素数。 输入格式: 输入在一行中给出M和N,其间以空格分隔。 输出格式: 输出从PM到PN的所有素数,每 10 个数字占 1 行,其间以空格分隔,但行末不得有多余空格。 输入样例: 5 27 ...原创 2019-03-28 22:31:56 · 697 阅读 · 0 评论