10 2017 档案
摘要:题目链接 problem Recently George is preparing for the Graduate Record Examinations (GRE for short). Obviously the most important thing is reciting the wor
阅读全文
摘要:题目链接 Problem Description Monkey A lives on a tree, he always plays on this tree.One day, monkey A learned about one of the bit-operations, xor. He was
阅读全文
摘要:题目链接 Problem Description Dr. X is a biologist, who likes rabbits very much and can do everything for them. 2012 is coming, and Dr. X wants to take som
阅读全文
摘要:题目链接 Problem Description Mr. Frog has an integer sequence of length n, which can be denoted as a1,a2,⋯,an There are m queries.In the i-th query, you a
阅读全文
摘要:题目链接 Problem Description The signature of a permutation is a string that is computed as follows: for each pair of consecutive elements of the permutat
阅读全文
摘要:题目链接 Problem Description You have got a cylindrical cup. Its bottom diameter is 2 units and its height is 2 units as well.The height of liquid level i
阅读全文
摘要:题目链接 Problem Description As we all known, merge sort is an O(nlogn) comparison-based sorting algorithm. The merge sort achieves its good runtime by a
阅读全文
摘要:题目链接 Problem Description Bob wants to hold a race to encourage people to do sports. He has got trouble in choosing the route. There are N houses and N
阅读全文
摘要:题目链接 Problem Description Nowadays princess Claire wants one more guard and posts the ads throughout the kingdom. For her unparalleled beauty, generali
阅读全文
摘要:题目链接 problem description Little Ruins is a studious boy, recently he learned addition operation! He was rewarded some number bricks of 11 to 99 and in
阅读全文