摘要:
Problem DescriptionFatMouse prepared M pounds of cat food, ready to trade with the cats guarding the warehouse containing his favorite food, JavaBean.... 阅读全文
posted @ 2014-10-30 23:29
zqxLonely
阅读(308)
评论(0)
推荐(0)
摘要:
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
阅读(270)
评论(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
阅读(318)
评论(0)
推荐(0)