上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 43 下一页
摘要: 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)
摘要: Problem DescriptionCalculate S(n).S(n)=13+23+33+......+n3.InputEach line will contain one integer N(1 // 运用数学公式:1^3 +2^3 +3^3 +……+n^3 =[n(n+1)/2]^2... 阅读全文
posted @ 2014-10-29 16:07 zqxLonely 阅读(410) 评论(0) 推荐(0)
摘要: Problem DescriptionThis problem is also a A + B problem,but it has a little difference,you should determine does (a+b) could be divided with 86.For ex... 阅读全文
posted @ 2014-10-29 13:48 zqxLonely 阅读(238) 评论(0) 推荐(0)
摘要: Problem Descriptionwe define f(A) = 1, f(a) = -1, f(B) = 2, f(b) = -2, ... f(Z) = 26, f(z) = -26;Give you a letter x and a number y , you should outpu... 阅读全文
posted @ 2014-10-29 00:48 zqxLonely 阅读(243) 评论(0) 推荐(0)
摘要: Problem DescriptionThere are many lamps in a line. All of them are off at first. A series of operations are carried out on these lamps. On the i-th op... 阅读全文
posted @ 2014-10-29 00:32 zqxLonely 阅读(267) 评论(0) 推荐(0)
摘要: Problem DescriptionGive you the width and height of the rectangle,darw it.InputInput contains a number of test cases.For each case ,there are two numb... 阅读全文
posted @ 2014-10-28 23:59 zqxLonely 阅读(267) 评论(0) 推荐(0)
摘要: Problem DescriptionGive you a number on base ten,you should output it on base two.(0 2 3 int main(){ 4 int number; 5 char result[20]; 6 ... 阅读全文
posted @ 2014-10-28 22:33 zqxLonely 阅读(383) 评论(0) 推荐(0)
上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 43 下一页