摘要:
You are given the ages (in years) of all people of a country with at least 1 year of age. You know that no individual in that country lives for 100 or... 阅读全文
posted @ 2015-03-26 20:18
Painting、时光
阅读(143)
评论(0)
推荐(0)
摘要:
DescriptionIn this problem your goal is to sort an array consisting ofnintegers in at mostnswaps. For the given array find the sequence of swaps that ... 阅读全文
posted @ 2015-03-26 20:11
Painting、时光
阅读(175)
评论(0)
推荐(0)
摘要:
DescriptionIn this problem, you have to analyze a particular sorting algorithm. The algorithm processes a sequence of n distinct integers by swapping ... 阅读全文
posted @ 2015-03-26 18:15
Painting、时光
阅读(153)
评论(0)
推荐(0)
摘要:
Description给你n个整数,请按从大到小的顺序输出其中前m大的数。Input每组测试数据有两行,第一行有两个数n,m(0#includeusing namespace std;const int MAX = 1000015;const int N = 510000;int w[MAX],a[... 阅读全文
posted @ 2015-03-26 18:02
Painting、时光
阅读(193)
评论(0)
推荐(0)
摘要:
DescriptionAmr loves Geometry. One day he came up with a very interesting problem.Amr has a circle of radiusrand center in point(x, y). He wants the c... 阅读全文
posted @ 2015-03-26 17:33
Painting、时光
阅读(131)
评论(0)
推荐(0)
摘要:
DescriptionA palindrome is a symmetrical string, that is, a string read identically from left to right as well as from right to left. You are to write... 阅读全文
posted @ 2015-03-26 14:50
Painting、时光
阅读(169)
评论(0)
推荐(0)
摘要:
DescriptionIt is well known that a human gene can be considered as a sequence, consisting of four nucleotides, which are simply denoted by four letter... 阅读全文
posted @ 2015-03-26 13:55
Painting、时光
阅读(149)
评论(0)
推荐(0)

浙公网安备 33010602011771号