排序:
默认
按更新时间
按访问量

PAT A1007

1007. Maximum Subsequence Sum (25) Given a sequence of K integers { N1, N2, ..., NK }. A continuous subsequence is defined to be { Ni, Ni+1, ......

2016-12-21 20:23:41

阅读数:221

评论数:0

PAT A1096

1096. Consecutive Factors (20) Among all the factors of a positive integer N, there may exist several consecutive numbers. For example, 630 can ...

2016-12-21 18:51:12

阅读数:309

评论数:0

PAT A1092

1092. To Buy or Not to Buy (20) Eva would like to make a string of beads with her favorite colors so she went to a small shop to buy some beads....

2016-12-21 18:49:52

阅读数:238

评论数:0

PAT A1088

1088. Rational Arithmetic (20) For two rational numbers, your task is to implement the basic arithmetics, that is, to calculate their sum, diffe...

2016-12-21 18:48:43

阅读数:184

评论数:0

PAT A1085

1085. Perfect Sequence (25) Given a sequence of positive integers and another positive integer p. The sequence is said to be a "perfect seq...

2016-12-21 18:47:33

阅读数:237

评论数:0

PAT A1083

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...

2016-12-21 18:46:37

阅读数:251

评论数:0

PAT A1082

1082. Read Number in Chinese (25) Given an integer with no more than 9 digits, you are supposed to read it in the traditional Chinese way. Outpu...

2016-12-21 18:45:39

阅读数:250

评论数:0

PAT A1081

1081. Rational Sum (20) Given N rational numbers in the form "numerator/denominator", you are supposed to calculate their sum. Input ...

2016-12-21 18:44:15

阅读数:195

评论数:0

PAT A1077

1077. Kuchiguse (20) The Japanese language is notorious for its sentence ending particles. Personal preference of such particles can be consider...

2016-12-21 18:42:56

阅读数:231

评论数:0

PAT A1075

1075. PAT Judge (25) The ranklist of PAT is generated from the status list, which shows the scores of the submittions. This time you are suppose...

2016-12-21 18:41:22

阅读数:237

评论数:0

PAT A1040

1040. Longest Symmetric String (25) Given a string, you are supposed to output the length of the longest symmetric sub-string. For example, give...

2016-12-20 21:54:26

阅读数:164

评论数:0

PAT A1051

1051. Pop Sequence (25) Given a stack which can keep M numbers at most. Push N numbers in the order of 1, 2, 3, ..., N and pop randomly. You are...

2016-12-20 20:16:23

阅读数:159

评论数:0

PAT A1073

1073. Scientific Notation (20) Scientific notation is the way that scientists easily handle very large numbers or very small numbers. The notati...

2016-12-20 19:06:58

阅读数:200

评论数:0

PAT A1063

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...

2016-12-19 20:09:50

阅读数:166

评论数:0

PAT A1070

1070. Mooncake (25) Mooncake is a Chinese bakery product traditionally eaten during the Mid-Autumn Festival. Many types of fillings and crusts c...

2016-12-19 19:21:17

阅读数:135

评论数:0

PAT A1067

1067. Sort with Swap(0,*) (25) Given any permutation of the numbers {0, 1, 2,..., N-1}, it is easy to sort them in increasing order. But what if...

2016-12-19 19:19:15

阅读数:162

评论数:0

PAT A1065

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: ...

2016-12-19 19:18:03

阅读数:298

评论数:0

PAT A1059

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...

2016-12-19 19:15:04

阅读数:205

评论数:0

PAT A1058

1058. A+B in Hogwarts (20) If you are a fan of Harry Potter, you would know the world of magic has its own currency system -- as Hagrid explaine...

2016-12-19 19:13:41

阅读数:262

评论数:0

PAT A1055

1055. The World's Richest (25) Forbes magazine publishes every year its list of billionaires based on the annual ranking of the world's wealthie...

2016-12-19 19:12:39

阅读数:209

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭