摘要: 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 @ 2014-08-14 22:43 daydaycode 阅读(146) 评论(0) 推荐(0) 编辑
摘要: DescriptionChristine and Matt are playing an exciting game they just invented: the Number Game. The rules of this game are as follows.The players take... 阅读全文
posted @ 2014-08-14 17:09 daydaycode 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 按照题目的四个条件去找就行了,小问题的解可以求出答题的解dp[i][j]=max(dp[i][k]+dp[k+1][j],dp[i-1][j-1]+2) 1 #include"iostream" 2 #include"cstring" 3 #include"cstdio" 4 using names... 阅读全文
posted @ 2014-08-14 00:04 daydaycode 阅读(333) 评论(0) 推荐(0) 编辑