摘要: Problem DescriptionThere are m soda and today is their birthday. The 1-st soda has prepared n cakes with size 1,2,…,n. Now 1-st soda w... 阅读全文
posted @ 2015-08-10 21:34 Herumw 阅读(125) 评论(0) 推荐(0) 编辑
摘要: DescriptionGiven a set of sticks of various lengths, is it possible to join them end-to-end to form a square?InputThe first line of in... 阅读全文
posted @ 2015-08-10 19:46 Herumw 阅读(74) 评论(0) 推荐(0) 编辑
摘要: Alice and Bob love playing one-dimensional battle ships. They play on the field in the form of a line consisting of n square cells (th... 阅读全文
posted @ 2015-08-10 19:22 Herumw 阅读(88) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionThere are n soda sitting around a round table. soda are numbered from 1 to n and i-th soda is adjacent to (i+1)-th ... 阅读全文
posted @ 2015-08-10 16:05 Herumw 阅读(104) 评论(0) 推荐(0) 编辑