摘要: DescriptionNow you are asked to measure a dose of medicine with a balance and a number of weights. Certainly it is not always achievable. So you shoul... 阅读全文
posted @ 2015-08-15 15:53 无解大神 阅读(170) 评论(0) 推荐(0)
摘要: 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-15 15:51 无解大神 阅读(148) 评论(0) 推荐(0)
摘要: PalindromeTime Limit:3000MSMemory Limit:65536KTotal Submissions:44186Accepted:15050DescriptionA palindrome is a symmetrical string, that is, a string ... 阅读全文
posted @ 2015-08-15 15:46 无解大神 阅读(185) 评论(0) 推荐(0)
摘要: DescriptionGiven a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguous sub-array of size 1*1 or greater located... 阅读全文
posted @ 2015-08-15 15:39 无解大神 阅读(167) 评论(0) 推荐(0)
摘要: DescriptionThe world financial crisis is quite a subject. Some people are more relaxed while others are quite anxious. John is one of them. He is very... 阅读全文
posted @ 2015-08-15 15:26 无解大神 阅读(204) 评论(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-15 15:16 无解大神 阅读(266) 评论(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-15 15:09 无解大神 阅读(131) 评论(0) 推荐(0)
摘要: DescriptionMichael喜欢滑雪百这并不奇怪, 因为滑雪的确很刺激。可是为了获得速度,滑的区域必须向下倾斜,而且当你滑到坡底,你不得不再次走上坡或者等待升降机来载你。Michael想知道载一个区域中最长底滑坡。区域由一个二维数组给出。数组的每个数字代表点的高度。下面是一个例子 1 2 ... 阅读全文
posted @ 2015-08-15 14:57 无解大神 阅读(171) 评论(0) 推荐(0)