摘要:
Define the simple skewness of a collection of numbers to be the collection's mean minus its median. You are given a list of n (not necessarily distinc 阅读全文
摘要:
You are given a sequence of n integers a1, a2, ..., an. Determine a real number x such that the weakness of the sequence a1 - x, a2 - x, ..., an - x i 阅读全文
摘要:
gcd 是表示两个数的最大公约数 在这里 , gcd(a, b) 是等于 gcd(b, a%b) , 证明如下 : 令 a = kb + p , gcd(a, b) = c , 那么就是 a, b 都可以整除 c , 那么 kb 也可以整除 c ,那么 a - kb 也可以整除 c , 所以 b 和 阅读全文
摘要:
Jon fought bravely to rescue the wildlings who were attacked by the white-walkers at Hardhome. On his arrival, Sam tells him that he wants to go to Ol 阅读全文
摘要:
After successive failures in the battles against the Union, the Empire retreated to its last stronghold. Depending on its powerful defense system, the 阅读全文
摘要:
Last year Bob earned by selling memory sticks. During each of n days of his work one of the two following events took place: A customer came to Bob an 阅读全文