摘要: InputThe first line of the input contains the number of the test cases, which is at most 15. The descriptionsof the test cases follow. The first line of 阅读全文
posted @ 2017-10-29 22:01 少年啦飞驰 阅读(170) 评论(0) 推荐(0) 编辑
摘要: InputThe rst line of the input le contains an integer K | determining the number of datasets. Next linescontain the area descriptions. One description 阅读全文
posted @ 2017-10-15 12:02 少年啦飞驰 阅读(121) 评论(0) 推荐(0) 编辑
摘要: InputMany test cases will be given. For each test case the program has to read the numbers N and S,separated by an interval, from the first line. The n 阅读全文
posted @ 2017-10-07 16:06 少年啦飞驰 阅读(140) 评论(0) 推荐(0) 编辑
摘要: InputYour program is to read the input from standard input. The input consists of T test cases. Thenumber of test cases T is given in the first line of 阅读全文
posted @ 2017-10-06 13:39 少年啦飞驰 阅读(129) 评论(0) 推荐(0) 编辑
摘要: InputThe first line of the input contains an integer t (1 ≤ t ≤ 200), the number of test cases. Each test casecontains two integers n (1 ≤ n ≤ 9) and k 阅读全文
posted @ 2017-10-05 12:23 少年啦飞驰 阅读(131) 评论(0) 推荐(0) 编辑
摘要: InputInput consists of a number of test cases T (less than 20). Each case starts with an integer n which isthe number of students in the course. This 阅读全文
posted @ 2017-10-04 22:40 少年啦飞驰 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 计数排序 阅读全文
posted @ 2017-10-04 15:21 少年啦飞驰 阅读(93) 评论(0) 推荐(0) 编辑
摘要: InputThe input contains several blocks of test eases. Each case begins with a line containing a single integerl ≤ n ≤ 100000, the number of guard towe 阅读全文
posted @ 2017-10-03 21:57 少年啦飞驰 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 生活需要故事来提供营养补给 养成一个习惯,把一天学习的东西记录下来 活着累点有什么关系,死后想累也累不到了 生活无非是工作,衣食住行都满足了,一二三四线都没啥区别 阅读全文
posted @ 2017-10-02 16:17 少年啦飞驰 阅读(107) 评论(0) 推荐(0) 编辑
摘要: InputYour program is to read the input from standard input. The input consists of T test cases. The numberof test cases (T) is given in the first line 阅读全文
posted @ 2017-09-24 16:53 少年啦飞驰 阅读(116) 评论(0) 推荐(0) 编辑