摘要:
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:32
简约。
阅读(202)
评论(0)
推荐(0)
摘要:
Description我们知道,在编程中,我们时常需要考虑到时间复杂度,特别是对于循环的部分。例如,如果代码中出现for(i=1;iint c[2001][2001];void init(){int n, m;c[0][0] = 1;for(n = 1; n <= 2000; n++){ c[n][... 阅读全文
posted @ 2015-07-31 20:59
简约。
阅读(95)
评论(0)
推荐(0)
摘要:
DescriptionThe GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangular... 阅读全文
posted @ 2015-07-31 20:49
简约。
阅读(137)
评论(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 20:13
简约。
阅读(157)
评论(0)
推荐(0)
摘要:
Description在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解对于给定形状和大小的棋盘,摆放k个棋子的所有可行的摆放方案C。Input输入含有多组测试数据。每组数据的第一行是两个正整数,n k,用一个空... 阅读全文
posted @ 2015-07-31 19:38
简约。
阅读(209)
评论(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:22
简约。
阅读(151)
评论(0)
推荐(0)
摘要:
DescriptionExamine thecheckerboard below and note that the six checkers are arranged on the board so that one and only one is placed in each row and e... 阅读全文
posted @ 2015-07-31 19:14
简约。
阅读(128)
评论(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 18:57
简约。
阅读(106)
评论(0)
推荐(0)
浙公网安备 33010602011771号