上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 41 下一页
摘要: 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 阅读(394) 评论(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 阅读(231) 评论(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 阅读(234) 评论(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 阅读(254) 评论(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 阅读(259) 评论(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 阅读(376) 评论(0) 推荐(0) 编辑
摘要: Problem Description你活的不容易,我活的不容易,他活的也不容易。不过,如果你看了下面的故事,就会知道,有位老汉比你还不容易。重庆市郊黄泥板村的徐老汉(大号徐东海,简称XDH)这两年辛辛苦苦养了不少羊,到了今年夏天,由于众所周知的高温干旱,实在没办法解决牲畜的饮水问题,就决定把这些羊... 阅读全文
posted @ 2014-10-28 21:33 zqxLonely 阅读(314) 评论(0) 推荐(0) 编辑
摘要: Problem Description有一楼梯共M级,刚开始时你在第一级,若每次只能跨上一级或二级,要走上第M级,共有多少种走法?Input输入数据首先包含一个整数N,表示测试实例的个数,然后是N行数据,每行包含一个整数M(1 2 3 int main(){ 4 int T; 5 ... 阅读全文
posted @ 2014-10-28 21:26 zqxLonely 阅读(206) 评论(0) 推荐(0) 编辑
摘要: Problem Description古希腊数学家毕达哥拉斯在自然数研究中发现,220的所有真约数(即不是自身的约数)之和为:1+2+4+5+10+11+20+22+44+55+110=284。而284的所有真约数为1、2、4、71、 142,加起来恰好为220。人们对这样的数感到很惊奇,并称之为亲... 阅读全文
posted @ 2014-10-28 21:12 zqxLonely 阅读(409) 评论(0) 推荐(0) 编辑
摘要: Problem Description“ 改革春风吹满地,不会AC没关系;实在不行回老家,还有一亩三分地。谢谢!(乐队奏乐)”话说部分学生心态极好,每天就知道游戏,这次考试如此简单的题目,也是云里雾里,而且,还竟然来这么几句打油诗。好呀,老师的责任就是帮你解决问题,既然想种田,那就分你一块。这块田位... 阅读全文
posted @ 2014-10-28 20:51 zqxLonely 阅读(395) 评论(0) 推荐(0) 编辑
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 41 下一页