摘要: In the Fibonacci integer sequence, F0 = 0, F1 = 1, and Fn = Fn − 1 + Fn − 2 for n ≥ 2. For example, the first ten terms of the Fibonacci sequence are: 阅读全文
posted @ 2021-02-16 20:17 mikku 阅读(41) 评论(0) 推荐(0)
摘要: Problem Description Kolya loves putting gnomes at the circle table and giving them coins, and Tanya loves studying triplets of gnomes, sitting in the 阅读全文
posted @ 2021-02-16 18:26 mikku 阅读(54) 评论(0) 推荐(0)
摘要: Problem Description 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, a 阅读全文
posted @ 2021-02-16 16:48 mikku 阅读(52) 评论(0) 推荐(0)