摘要: DescriptionA number sequence is defined as follows:f(1) = 1, f(2) = 1, f(n) = (A * f(n - 1) + B * f(n - 2)) mod 7.Given A, B, and n, you are to calcul... 阅读全文
posted @ 2015-07-18 17:15 简约。 阅读(224) 评论(0) 推荐(0) 编辑
摘要: DescriptionThere is a permutation without two numbers in it, and now you know what numbers the permutation has. Please find the two numbers it lose.In... 阅读全文
posted @ 2015-07-18 15:19 简约。 阅读(133) 评论(0) 推荐(0) 编辑