摘要:
Problem D: Above AverageIt is said that 90% of frosh expect to be above average in theirclass. You are to provide a reality check.The first line of standard input contains an integer C,the number of... 阅读全文
摘要:
The ProblemMedian plays an important role in the world of statistics. By definition,it is a value which divides an array into two equal parts. In this problemyou are to determine the current median of... 阅读全文
摘要:
A sequence of n > 0 integers is called a jolly jumper if the absolute values of the difference between successive elements take on all the values 1 through n-1. For instance,1 4 2 3is a jolly jumpe... 阅读全文