摘要: DescriptionWe give the following inductive definition of a “regular brackets” sequence:the empty sequence is a regular brackets sequence,ifsis a regul... 阅读全文
posted @ 2015-08-12 21:47 江南何采莲 阅读(314) 评论(0) 推荐(0) 编辑
摘要: DescriptionMichael喜欢滑雪百这并不奇怪, 因为滑雪的确很刺激。可是为了获得速度,滑的区域必须向下倾斜,而且当你滑到坡底,你不得不再次走上坡或者等待升降机来载你。Michael想知道载一个区域中最长底滑坡。区域由一个二维数组给出。数组的每个数字代表点的高度。下面是一个例子 1 2 ... 阅读全文
posted @ 2015-08-12 21:26 江南何采莲 阅读(244) 评论(0) 推荐(0) 编辑
摘要: Hrdv is interested in a string,especially the palindrome string.So he wants some palindrome string.A sequence of characters is a palindrome if it is t... 阅读全文
posted @ 2015-08-12 21:05 江南何采莲 阅读(222) 评论(0) 推荐(0) 编辑
摘要: DescriptionA palindrome is a symmetrical string, that is, a string read identically from left to right as well as from right to left. You are to write... 阅读全文
posted @ 2015-08-12 20:33 江南何采莲 阅读(158) 评论(0) 推荐(0) 编辑
摘要: Given a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguous sub-array of size 1*1 or greater located within the... 阅读全文
posted @ 2015-08-12 20:03 江南何采莲 阅读(142) 评论(0) 推荐(0) 编辑
摘要: Description The world financial crisis is quite a subject. Some people are more relaxed while others are quite anxious. John is one of them. He is ver 阅读全文
posted @ 2015-08-12 19:26 江南何采莲 阅读(285) 评论(0) 推荐(0) 编辑
摘要: DescriptionIn a few months the European Currency Union will become a reality. However, to join the club, the Maastricht criteria must be fulfilled, an... 阅读全文
posted @ 2015-08-12 16:57 江南何采莲 阅读(187) 评论(0) 推荐(0) 编辑
摘要: DescriptionLetxandybe two strings over some finite alphabetA. We would like to transformxintoyallowing only operations given below:Deletion:a letter i... 阅读全文
posted @ 2015-08-12 11:04 江南何采莲 阅读(180) 评论(0) 推荐(0) 编辑
摘要: Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusDescription一组研究人员正在设计一项实验,以测试猴子的智商。他们将挂香蕉在建筑物的屋顶,同时,提供一些砖块给这些猴子。如果猴子足够聪明... 阅读全文
posted @ 2015-08-12 10:52 江南何采莲 阅读(217) 评论(0) 推荐(0) 编辑
摘要: A - 最大子段和 Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status A - 最大子段和 Submit Status Description Given a sequence a[1] 阅读全文
posted @ 2015-08-12 10:38 江南何采莲 阅读(211) 评论(0) 推荐(0) 编辑