PAT甲级
文章平均质量分 85
_Occult_
物語が始まった
展开
-
PAT (Advanced Level) Practise 1001 A+B Format (20)
1001. A+B Format (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueCalculate a + b and output the sum in standard原创 2016-03-02 19:30:23 · 768 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1002 A+B for Polynomials (25)
1002. A+B for Polynomials (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueThis time, you are supposed to find A+原创 2016-03-02 19:32:44 · 597 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1004 Counting Leaves (30)
1004. Counting Leaves (30)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA family hierarchy is usually presented by a原创 2016-03-02 19:38:26 · 431 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1005 Spell It Right (20)
1005. Spell It Right (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueGiven a non-negative integer N, your task i原创 2016-03-02 19:40:05 · 392 阅读 · 0 评论 -
PAT (Advanced Level) Practise 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 fi原创 2016-03-02 19:41:17 · 786 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1007 Maximum Subsequence Sum (25)
1007. Maximum Subsequence Sum (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueGiven a sequence of K integers { N原创 2016-03-02 19:43:09 · 465 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1008 Elevator (20)
1008. Elevator (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueThe highest building in our city has only one ele原创 2016-03-02 19:44:19 · 405 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1009 Product of Polynomials (25)
1009. Product of Polynomials (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueThis time, you are supposed to find原创 2016-03-02 19:45:30 · 383 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1010 Radix (25)
1010. Radix (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueGiven a pair of positive integers, for example, 6 an原创 2016-03-02 19:48:37 · 620 阅读 · 2 评论 -
PAT (Advanced Level) Practise 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, fo原创 2016-03-02 19:49:44 · 347 阅读 · 0 评论 -
PAT (Advanced Level) Practise 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 yea原创 2016-03-02 20:31:18 · 526 阅读 · 2 评论 -
PAT (Advanced Level) Practise 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原创 2016-03-03 21:40:56 · 486 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1014 Waiting in Line (30)
1014. Waiting in Line (30)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueSuppose a bank has N windows open for serv原创 2016-03-03 23:26:26 · 808 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1015 Reversible Primes (20)
1015. Reversible Primes (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA reversible prime in any number system原创 2016-03-03 23:33:31 · 459 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1053 Path of Equal Weight (30)
1053. Path of Equal Weight (30)时间限制10 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueGiven a non-empty tree with root R, an原创 2016-03-16 14:43:20 · 431 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1054 The Dominant Color (20)
1054. The Dominant Color (20)时间限制100 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueBehind the scenes in the computer's mem原创 2016-03-16 14:50:06 · 320 阅读 · 0 评论 -
PAT (Advanced Level) Practise 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原创 2016-03-16 15:54:29 · 312 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1056 Mice and Rice (25)
1056. Mice and Rice (25)时间限制30 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueMice and Rice is the name of a programming co原创 2016-03-16 16:47:04 · 308 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1057 Stack (30)
1057. Stack (30)时间限制150 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueStack is one of the most fundamental data structures原创 2016-03-16 16:52:18 · 479 阅读 · 0 评论 -
PAT (Advanced Level) Practise 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原创 2016-03-16 17:05:27 · 276 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1059 Prime Factors (25)
1059. Prime Factors (25)时间限制50 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者HE, QinmingGiven any positive integer N, you are suppo原创 2016-03-16 17:14:01 · 340 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1060 Are They Equal (25)
1060. Are They Equal (25)时间限制50 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueIf a machine can save only 3 significant dig原创 2016-03-16 19:40:11 · 321 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1061 Dating (20)
1061. Dating (20)时间限制100 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueSherlock Holmes received a note with some strange s原创 2016-03-16 20:41:19 · 316 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1016 Phone Bills (25)
1016. Phone Bills (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA long-distance telephone company charges its原创 2016-03-04 18:35:40 · 646 阅读 · 0 评论 -
PAT (Advanced Level) Practise 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 ser原创 2016-03-04 18:54:13 · 585 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1018 Public Bike Management (30)
1018. Public Bike Management (30)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueThere is a public bike service in H原创 2016-03-04 19:57:59 · 894 阅读 · 0 评论 -
PAT (Advanced Level) Practise 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原创 2016-03-04 20:09:11 · 399 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1020 Tree Traversals (25)
1020. Tree Traversals (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueSuppose that all the keys in a binary tree原创 2016-03-04 20:27:48 · 537 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1021 Deepest Root (25)
1021. Deepest Root (25)时间限制1500 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA graph which is connected and acyclic can b原创 2016-03-04 20:56:14 · 445 阅读 · 2 评论 -
PAT (Advanced Level) Practise 1022 Digital Library (30)
1022. Digital Library (30)时间限制1000 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA Digital Library contains millions of bo原创 2016-03-04 23:48:49 · 427 阅读 · 0 评论 -
PAT (Advanced Level) Practise 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原创 2016-03-05 00:00:35 · 472 阅读 · 0 评论 -
PAT (Advanced Level) Practise 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原创 2016-03-05 13:05:47 · 480 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1025 PAT Ranking (25)
1025. PAT Ranking (25)时间限制200 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueProgramming Ability Test (PAT) is organized by原创 2016-03-05 13:26:55 · 450 阅读 · 0 评论 -
PAT (Advanced Level) Practise 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原创 2016-03-05 17:10:44 · 604 阅读 · 0 评论 -
PAT (Advanced Level) Practise 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 thei原创 2016-03-05 18:21:49 · 399 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1028 List Sorting (25)
1028. List Sorting (25)时间限制200 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueExcel can sort records according to any colum原创 2016-03-05 21:11:51 · 573 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1062 Talent and Virtue (25)
1062. Talent and Virtue (25)时间限制200 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, LiAbout 900 years ago, a Chinese philosophe原创 2016-03-17 21:09:14 · 316 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1063 Set Similarity (25)
1063. Set Similarity (25)时间限制300 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueGiven two sets of integers, the similarity原创 2016-03-17 21:10:48 · 294 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1064 Complete Binary Search Tree (30)
1064. Complete Binary Search Tree (30)时间限制100 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA Binary Search Tree (BST) is原创 2016-03-17 21:50:13 · 382 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1029 Median (25)
1029. Median (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueGiven an increasing sequence S of N integers, the m原创 2016-03-05 23:25:13 · 442 阅读 · 0 评论