摘要: 原题: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 v... 阅读全文
posted @ 2015-08-15 17:32 Shawn_Ji 阅读(295) 评论(0) 推荐(0) 编辑
摘要: 原题:DescriptionLetxandybe two strings over some finite alphabetA. We would like to transformxintoyallowing only operations given below:Deletion:a lette... 阅读全文
posted @ 2015-08-15 17:16 Shawn_Ji 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 原题:Description一组研究人员正在设计一项实验,以测试猴子的智商。他们将挂香蕉在建筑物的屋顶,同时,提供一些砖块给这些猴子。如果猴子足够聪明,它应当能够通过合理的放置一些砖块建立一个塔,并爬上去吃他们最喜欢的香蕉。研究人员有n种类型的砖块,每种类型的砖块都有无限个。第i块砖块的长宽高分别用... 阅读全文
posted @ 2015-08-15 17:12 Shawn_Ji 阅读(324) 评论(0) 推荐(0) 编辑
摘要: 原题:DescriptionGiven a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7), the... 阅读全文
posted @ 2015-08-15 17:04 Shawn_Ji 阅读(130) 评论(0) 推荐(0) 编辑