2015年8月15日
摘要: 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-15 21:40 xx-sisley 阅读(133) 评论(0) 推荐(0) 编辑
摘要: Description 一组研究人员正在设计一项实验,以测试猴子的智商。他们将挂香蕉在建筑物的屋顶,同时,提供一些砖块给这些猴子。如果猴子足够聪明,它应当能够通过合理的放置一些砖块建立一个塔,并爬上去吃他们最喜欢的香蕉。 研究人员有n种类型的砖块,每种类型的砖块都有无限个。第i块砖块的长宽高分别用x 阅读全文
posted @ 2015-08-15 21:31 xx-sisley 阅读(163) 评论(0) 推荐(0) 编辑
摘要: Description Given 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 m 阅读全文
posted @ 2015-08-15 21:15 xx-sisley 阅读(191) 评论(0) 推荐(0) 编辑