摘要:
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... 阅读全文
摘要:
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... 阅读全文
摘要:
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... 阅读全文
摘要:
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 ... 阅读全文