题目信息1092. To Buy or Not to Buy (20)时间限制100 ms
内存限制65536 kB
代码长度限制16000 B
Eva would like to make a string of beads with her favorite colors so she went to a small shop to buy some beads. There were m...
分类:
其他好文 时间:
2016-05-18 19:34:05
阅读次数:
169
题目信息1090. Highest Price in Supply Chain (25)时间限制200 ms
内存限制65536 kB
代码长度限制16000 B
A supply chain is a network of retailers(零售商), distributors(经销商), and suppliers(供应商)– everyone involved in moving a...
分类:
其他好文 时间:
2016-05-18 19:33:23
阅读次数:
144
题目信息1089. Insert or Merge (25)时间限制200 ms
内存限制65536 kB
代码长度限制16000 BInsertion sort iterates, consuming one input element each repetition, and growing a sorted output list. Each iteration, insertion so...
分类:
编程语言 时间:
2016-05-18 19:33:21
阅读次数:
201
题目信息1101. Quick Sort (25)时间限制200 ms
内存限制65536 kB
代码长度限制16000 B
There is a classical process named partition in the famous quick sort algorithm. In this process we typically choose one element as the...
分类:
其他好文 时间:
2016-05-18 19:33:03
阅读次数:
155
题目信息1087. All Roads Lead to Rome (30)时间限制200 ms
内存限制65536 kB
代码长度限制16000 B
Indeed there are many different tourist routes from our city to Rome. You are supposed to find your clients the route with...
分类:
其他好文 时间:
2016-05-18 19:32:53
阅读次数:
186
题目信息1096. Consecutive Factors (20)时间限制400 ms
内存限制65536 kB
代码长度限制16000 B
Among all the factors of a positive integer N, there may exist several consecutive numbers. For example, 630 can be factored a...
分类:
其他好文 时间:
2016-05-18 19:32:52
阅读次数:
181
题目信息1094. The Largest Generation (25)时间限制200 ms
内存限制65536 kB
代码长度限制16000 B
A family hierarchy is usually presented by a pedigree tree where all the nodes on the same level belong to the same generat...
分类:
其他好文 时间:
2016-05-18 19:32:17
阅读次数:
200
题目信息1098. Insertion or Heap Sort (25)时间限制100 ms
内存限制65536 kB
代码长度限制16000 BAccording to Wikipedia:Insertion sort iterates, consuming one input element each repetition, and growing a sorted output list...
分类:
编程语言 时间:
2016-05-18 19:31:52
阅读次数:
152
题目信息1093. Count PAT’s (25)时间限制120 ms
内存限制65536 kB
代码长度限制16000 B
The string APPAPT contains two PAT’s as substrings. The first one is formed by the 2nd, the 4th, and the 6th characters, and the secon...
分类:
其他好文 时间:
2016-05-18 19:31:34
阅读次数:
116
题目信息1095. Cars on Campus (30)时间限制220 ms
内存限制65536 kB
代码长度限制16000 B
Zhejiang University has 6 campuses and a lot of gates. From each gate we can collect the in/out times and the plate numbers of the...
分类:
其他好文 时间:
2016-05-18 19:31:13
阅读次数:
257