PAT甲级
pythontojava
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
浙江大学PAT_甲级_1006. Sign In and Sign Out (25)
浙江大学PAT_甲级_1006. Sign In and Sign Out (25) c++程序原创 2015-04-10 20:22:41 · 583 阅读 · 0 评论 -
浙江大学PAT_甲级_1028. List Sorting (25)
C++原创 2015-08-17 14:46:18 · 657 阅读 · 0 评论 -
浙江大学PAT_甲级_1077. Kuchiguse (20)
C++原创 2015-08-18 14:16:32 · 607 阅读 · 0 评论 -
浙江大学PAT_甲级_1055. The World's Richest (25)
结构体排序原创 2015-09-02 10:49:43 · 449 阅读 · 0 评论 -
浙江大学PAT_甲级_1059. Prime Factors (25)
题目链接:点击打开链接Given any positive integer N, you are supposed to find all of its prime factors, and write them in the format N = p1^k1 * p2^k2 *…*pm^km.Input Specification:Each input file co原创 2015-09-02 13:47:07 · 536 阅读 · 0 评论 -
PAT_甲级_1029. Median (25)
题目链接:点击打开链接 Given an increasing sequence S of N integers, the median is the number at the middle position. For example, the median of S1={11, 12, 13, 14} is 12, and the median of S2={9, 10, 15, 16...原创 2015-09-01 14:35:06 · 721 阅读 · 2 评论 -
浙江大学PAT_甲级_1048. Find Coins (25)
题目链接:点击打开链接Eva loves to collect coins from all over the universe, including some other planets like Mars. One day she visited a universal shopping mall which could accept all kinds of coins as原创 2015-09-02 09:01:52 · 420 阅读 · 0 评论 -
浙江大学PAT_甲级_1096. Consecutive Factors (20)
C++原创 2015-08-18 16:45:59 · 484 阅读 · 0 评论 -
浙江大学PAT_甲级_1073. Scientific Notation (20)
题目链接:点击打开链接Scientific notation is the way that scientists easily handle very large numbers or very small numbers. The notation matches the regular expression [+-][1-9]"."[0-9]+E[+-][0-9]+ which原创 2015-08-18 16:52:08 · 386 阅读 · 0 评论 -
浙江大学PAT_甲级_1071. Speech Patterns (25)
题目链接:点击打开链接People often have a preference among synonyms of the same word. For example, some may prefer "the police", while others may prefer "the cops". Analyzing such patterns can help to narr原创 2015-09-02 19:56:08 · 508 阅读 · 0 评论 -
浙江大学PAT_甲级_1081. Rational Sum (20)
题目链接:点击打开链接Given N rational numbers in the form "numerator/denominator", you are supposed to calculate their sum.Input Specification:Each input file contains one test case. Each case sta原创 2015-08-19 15:28:27 · 700 阅读 · 0 评论 -
浙江大学PAT_甲级_1047. Student List for Course (25)
题目链接:点击打开链接Zhejiang University has 40000 students and provides 2500 courses. Now given the registered course list of each student, you are supposed to output the student name lists of all the co原创 2015-09-08 22:03:13 · 584 阅读 · 0 评论 -
浙江大学PAT_甲级_1062. Talent and Virtue (25)
题目链接:点击打开链接这道题在乙级里出现过。乙级题目程序,点击打开http://blog.youkuaiyun.com/pythontojava/article/details/48227349原创 2015-09-05 18:16:56 · 517 阅读 · 0 评论 -
浙江大学PAT_甲级_1070. Mooncake (25)
题目链接:点击打开链接Mooncake is a Chinese bakery product traditionally eaten during the Mid-Autumn Festival. Many types of fillings and crusts can be found in traditional mooncakes according to the regio原创 2015-09-06 17:05:56 · 654 阅读 · 0 评论 -
浙江大学PAT_甲级_1052. Linked List Sorting (25)
题目链接:点击打开链接A linked list consists of a series of structures, which are not necessarily adjacent in memory. We assume that each structure contains an integer key and a Next pointer to the next原创 2015-09-06 14:18:07 · 559 阅读 · 0 评论 -
浙江大学PAT_甲级_1083. List Grades (25)
题目链接:点击打开链接Given a list of N student records with name, ID and grade. You are supposed to sort the records with respect to the grade in non-increasing order, and output those student records of原创 2015-09-06 15:19:15 · 522 阅读 · 0 评论 -
浙江大学PAT_甲级_1063. Set Similarity (25)
题目链接 点击打开链接Given two sets of integers, the similarity of the sets is defined to be Nc/Nt*100%, where Nc is the number of distinct common numbers shared by the two sets, and Nt is the total num原创 2015-10-02 11:23:29 · 582 阅读 · 0 评论 -
浙江大学PAT_甲级_1032. Sharing (25)
题目地址:点击打开链接To store English words, one method is to use linked lists and store a word letter by letter. To save some space, we may let the words share the same sublist if they share the same suf原创 2015-11-06 10:53:50 · 760 阅读 · 0 评论 -
浙江大学PAT_甲级_1015. Reversible Primes (20)
java原创 2015-08-17 06:52:25 · 472 阅读 · 0 评论 -
PAT_甲级_1001. A+B Format (20)
1001. A+B Format (20) Calculate a + b and output the sum in standard format -- that is, the digits must be separated into groups of three by commas (unless there are less than four digits).Input...原创 2015-04-09 19:59:13 · 1145 阅读 · 0 评论 -
浙江大学PAT_甲级_1005.1005. Spell It Right (20)
c++实现原创 2015-04-11 20:55:53 · 970 阅读 · 0 评论 -
浙江大学PAT_甲级_1035. Password (20)
C++原创 2015-06-16 13:40:24 · 719 阅读 · 0 评论 -
浙江大学PAT_甲级_1036. Boys vs Girls (25)
C++原创 2015-06-16 15:20:55 · 700 阅读 · 0 评论 -
浙江大学PAT_甲级_1041. Be Unique (20)
C++ map原创 2015-06-17 17:20:45 · 625 阅读 · 0 评论 -
浙江大学PAT_甲级_1019. General Palindromic Number (20)
C++ stack vector原创 2015-06-17 14:09:37 · 638 阅读 · 0 评论 -
浙江大学PAT_甲级_1046. Shortest Distance (20)
C++原创 2015-06-18 13:28:12 · 436 阅读 · 0 评论 -
浙江大学PAT_甲级_1050. String Subtraction (20)
C++原创 2015-06-20 09:32:59 · 553 阅读 · 0 评论 -
浙江大学PAT_甲级_1058. A+B in Hogwarts (20)
python2,C++原创 2015-06-20 16:42:37 · 624 阅读 · 0 评论 -
浙江大学PAT_甲级_1069. The Black Hole of Numbers (20)
-1原创 2015-06-20 18:02:27 · 548 阅读 · 0 评论 -
浙江大学PAT_甲级_1084. Broken Keyboard (20)
C++,Python原创 2015-06-21 09:07:07 · 412 阅读 · 0 评论 -
浙江大学PAT_甲级_1054. The Dominant Color (20)
C++map原创 2015-06-20 10:58:14 · 439 阅读 · 0 评论 -
浙江大学PAT_甲级_1061. Dating (20)
C++原创 2015-06-21 08:39:57 · 510 阅读 · 0 评论 -
浙江大学PAT_甲级_1024. Palindromic Number (25)
python原创 2015-06-15 21:31:19 · 491 阅读 · 0 评论 -
浙江大学PAT_甲级_1023. Have Fun with Numbers (20)
python原创 2015-06-15 17:18:34 · 701 阅读 · 0 评论 -
PAT_甲级_1065. A+B and C (64bit) (20)
题目链接:点击打开链接 Given three integers A, B and C in [-263, 263], you are supposed to tell whether A+B > C.Input Specification:The first line of the input gives the positive number of test cases,...原创 2015-06-20 17:45:33 · 689 阅读 · 0 评论 -
浙江大学PAT_甲级_1027. Colors in Mars (20)
C++原创 2015-06-16 09:29:01 · 413 阅读 · 0 评论 -
浙江大学PAT_甲级_1031. Hello World for U (20)
C++原创 2015-06-16 09:59:28 · 553 阅读 · 0 评论 -
浙江大学PAT_甲级_1094. The Largest Generation (25)
题目链接:点击打开链接A family hierarchy is usually presented by a pedigree tree where all the nodes on the same level belong to the same generation. Your task is to find the generation with the largest po原创 2015-11-11 12:55:30 · 1203 阅读 · 0 评论
分享