摘要:
Let us consider sets of positive integers less than or equal to n. Note that all elements of a set are different. Also note that the order of elements... 阅读全文
posted @ 2015-07-31 22:12
心向晴
阅读(557)
评论(0)
推荐(0)
摘要:
DescriptionToday on a lecture about strings Gerald learned a new definition of string equivalency. Two stringsaandbof equal length are calledequivalen... 阅读全文
posted @ 2015-07-31 21:18
心向晴
阅读(446)
评论(0)
推荐(0)
摘要:
DescriptionThere is a piece of paper in front of Tom, its length and width are integer. Tom knows the area of this paper, he wants to know the minimum... 阅读全文
posted @ 2015-07-31 19:53
心向晴
阅读(411)
评论(0)
推荐(0)
摘要:
DescriptionAndrewid the Android is a galaxy-famous detective. In his free time he likes to think about strings containing zeros and ones.Once he thoug... 阅读全文
posted @ 2015-07-31 19:44
心向晴
阅读(228)
评论(0)
推荐(0)
摘要:
DescriptionA ring is composed of n (even number) circles as shown in diagram. Put natural numbersinto each circle separately, and the sum of numbers i... 阅读全文
posted @ 2015-07-31 19:35
心向晴
阅读(211)
评论(0)
推荐(0)
摘要:
Description在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解对于给定形状和大小的棋盘,摆放k个棋子的所有可行的摆放方案C。Input输入含有多组测试数据。每组数据的第一行是两个正整数,n k,用一个空... 阅读全文
posted @ 2015-07-31 19:17
心向晴
阅读(2201)
评论(0)
推荐(0)
浙公网安备 33010602011771号