摘要: Problem Description A 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 阅读全文
posted @ 2018-03-21 23:55 天之道,利而不害 阅读(2734) 评论(0) 推荐(0) 编辑
摘要: Problem Description I have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B. Input The first line 阅读全文
posted @ 2018-03-21 20:47 天之道,利而不害 阅读(168) 评论(0) 推荐(0) 编辑
摘要: Problem Description You hava a non-empty string which consists of lowercase English letters and may contain at most one '?'. Let's choose non-empty su 阅读全文
posted @ 2018-03-21 19:29 天之道,利而不害 阅读(193) 评论(0) 推荐(0) 编辑