摘要:
Problem Description 时间过的好快,一个学期就这么的过去了,xhd在傻傻的看着表,出于对数据的渴望,突然他想知道这个表的时针和分针的夹角是多少。现在xhd知道的只有时间,请你帮他算出这个夹角。注:夹角的范围[0,180],时针和分针的转动是连续而不是离散的。Inp... 阅读全文
摘要:
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... 阅读全文
摘要:
Problem Description There are some students in a class, Can you help teacher find the highest student .Input There are some cases. The first ... 阅读全文
摘要:
Problem Description Given two rectangles and the coordinates of two points on the diagonals of each rectangle,you have to calculate the area ... 阅读全文
摘要:
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... 阅读全文
摘要:
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... 阅读全文
摘要:
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... 阅读全文