摘要:
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... 阅读全文
摘要:
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 ... 阅读全文
摘要:
DescriptionIn this problem, you have to analyze a particular sorting algorithm. The algorithm processes a sequence of n distinct integers by swapping ... 阅读全文
摘要:
Description给你n个整数,请按从大到小的顺序输出其中前m大的数。Input每组测试数据有两行,第一行有两个数n,m(0#includeusing namespace std;const int MAX = 1000015;const int N = 510000;int w[MAX],a[... 阅读全文
摘要:
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... 阅读全文
摘要:
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... 阅读全文
摘要:
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... 阅读全文