上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 43 下一页
  2016年2月2日
摘要: Problem Description 需要的时候,就把一个个大小差一圈的筐叠上去,使得从上往下看时,边筐花色交错。这个工作现在要让计算机来完成,得看你的了。Input 输入是一个个的三元组,分别是,外筐尺寸n(n为满足0< n< 80的奇整数),中心花色字符,外筐花色字符,后二者... 阅读全文
posted @ 2016-02-02 16:58 cnxo 阅读(147) 评论(0) 推荐(0) 编辑
  2016年1月31日
摘要: Problem Description 时间过的好快,一个学期就这么的过去了,xhd在傻傻的看着表,出于对数据的渴望,突然他想知道这个表的时针和分针的夹角是多少。现在xhd知道的只有时间,请你帮他算出这个夹角。注:夹角的范围[0,180],时针和分针的转动是连续而不是离散的。Inp... 阅读全文
posted @ 2016-01-31 22:21 cnxo 阅读(123) 评论(0) 推荐(0) 编辑
摘要: Problem Description Given a sequence 1,2,3,……N, your job is to calculate all the possible sub-sequences that the sum of the sub-sequence is M... 阅读全文
posted @ 2016-01-31 21:48 cnxo 阅读(125) 评论(0) 推荐(0) 编辑
  2016年1月28日
摘要: Problem Description 一个整数,只知道前几位,不知道末二位,被另一个整数除尽了,那么该数的末二位该是什么呢?Input 输入数据有若干组,每组数据包含二个整数a,b( 0=0)&&((b*i)-a<100)){ if((b*i... 阅读全文
posted @ 2016-01-28 21:38 cnxo 阅读(95) 评论(0) 推荐(0) 编辑
摘要: Problem Description 正整数A是否能被正整数B整除,不知道为什么xhd会研究这个问题,来帮帮他吧。Input 输入数据的第一行是一个数据T,表示有T组数据。 每组数据有两个正整数A和B(A,B0){ int a = sc.nextInt();... 阅读全文
posted @ 2016-01-28 20:56 cnxo 阅读(78) 评论(0) 推荐(0) 编辑
摘要: Problem Description There are some students in a class, Can you help teacher find the highest student .Input There are some cases. The first ... 阅读全文
posted @ 2016-01-28 20:52 cnxo 阅读(168) 评论(0) 推荐(0) 编辑
摘要: Problem Description Given two rectangles and the coordinates of two points on the diagonals of each rectangle,you have to calculate the area ... 阅读全文
posted @ 2016-01-28 20:20 cnxo 阅读(151) 评论(0) 推荐(0) 编辑
  2016年1月27日
摘要: Problem Description we 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 sho... 阅读全文
posted @ 2016-01-27 17:22 cnxo 阅读(177) 评论(0) 推荐(0) 编辑
摘要: Problem Description There are many lamps in a line. All of them are off at first. A series of operations are carried out on these lamps. On t... 阅读全文
posted @ 2016-01-27 16:33 cnxo 阅读(109) 评论(0) 推荐(0) 编辑
摘要: Problem Description Give you the width and height of the rectangle,darw it.Input Input contains a number of test cases.For each case ,there a... 阅读全文
posted @ 2016-01-27 15:51 cnxo 阅读(122) 评论(0) 推荐(0) 编辑
上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 43 下一页