摘要:
Problem DescriptionI have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B.InputThe first line of ... 阅读全文
posted @ 2014-10-30 21:15
zqxLonely
阅读(275)
评论(0)
推荐(0)
摘要:
Problem 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 t... 阅读全文
posted @ 2014-10-30 14:02
zqxLonely
阅读(252)
评论(0)
推荐(0)
摘要:
Problem DescriptionGiven a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7)... 阅读全文
posted @ 2014-10-30 12:51
zqxLonely
阅读(319)
评论(0)
推荐(0)

浙公网安备 33010602011771号