上一页 1 2 3 4 5 6 ··· 13 下一页
摘要: Euler is a well-known matematician, and, among many other things, he discovered that the formula n 2 + n + 41 produces a prime for 0 ≤ n < 40. For n = 阅读全文
posted @ 2016-08-14 15:28 野小子& 阅读(464) 评论(0) 推荐(0) 编辑
摘要: Description The company "21st Century Fruits" has specialized in creating new sorts of fruits by transferring genes from one fruit into the genome of 阅读全文
posted @ 2016-08-13 08:36 野小子& 阅读(271) 评论(0) 推荐(0) 编辑
摘要: Description ?? gets an sequence S with n intergers(0 < n <= 100000,0<= S[i] <= 1000000).?? has a magic so that he can change 0 to any interger(He does 阅读全文
posted @ 2016-08-12 20:11 野小子& 阅读(319) 评论(0) 推荐(0) 编辑
摘要: Problem Description A subsequence of a given sequence is the given sequence with some elements (possible none) left out. Given a sequence X = <x1, x2, 阅读全文
posted @ 2016-08-12 18:15 野小子& 阅读(336) 评论(0) 推荐(0) 编辑
摘要: Description Peter has a sequence and he define a function on the sequence -- , where is the length of the longest increasing subsequence ending with . 阅读全文
posted @ 2016-08-12 18:10 野小子& 阅读(163) 评论(0) 推荐(0) 编辑
摘要: Description There is a pile of n wooden sticks. The length and weight of each stick are known in advance. The sticks are to be processed by a woodwork 阅读全文
posted @ 2016-08-11 17:07 野小子& 阅读(224) 评论(0) 推荐(0) 编辑
摘要: Description 某国为了防御敌国的导弹袭击,发展出一种导弹拦截系统.但是这种导弹拦截系统有一个缺陷:虽然它的第一发炮弹能够到达任意的高度,但是以后每一发炮弹都不能超过前一发的高度.某天,雷达捕捉到敌国的导弹来袭.由于该系统还在试用阶段,所以只有一套系统,因此有可能不能拦截所有的导弹. 怎么办 阅读全文
posted @ 2016-08-11 15:56 野小子& 阅读(135) 评论(0) 推荐(0) 编辑
摘要: Description 进去宝藏后, 小火山发现宝藏有N个房间,且这n个房间通过N-1道门联通。 每一个房间都有一个价值为Ai的宝藏, 但是每一个房间也都存在一个机关。如果小火山取走了这个房间的宝藏,那么这个房间通往其他房间的门就永远打不开了,也就是说后面的宝藏小火山是得不到了(进入这个房间的门是不 阅读全文
posted @ 2016-08-11 11:58 野小子& 阅读(274) 评论(0) 推荐(0) 编辑
摘要: Description 小火山获得了一个字符串,然而大火山让小火山从里面截取一段字符串,并且让小火山截取的字符串满足一些字符达到一定数量。 小火山觉得很容易,但是他想要知道他至少得截取多长的字符串。 小火山获得了一个字符串,然而大火山让小火山从里面截取一段字符串,并且让小火山截取的字符串满足一些字符 阅读全文
posted @ 2016-08-11 10:28 野小子& 阅读(323) 评论(0) 推荐(0) 编辑
摘要: Description 别人说小火山的计算能力不行,小火山很生气,于是他想证明自己,现在有一个表达式,他想计算出来。 别人说小火山的计算能力不行,小火山很生气,于是他想证明自己,现在有一个表达式,他想计算出来。 Input 首先是一个t(1<=20)表示测试组数。然后一个表达式,表达式长度不超过20 阅读全文
posted @ 2016-08-10 20:18 野小子& 阅读(195) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 13 下一页