摘要: 题目来源:http://www.lintcode.com/zh-cn/problem/maximal-square/ 利用动态规划得到公式rst[i+1][j+1] = min(min(rst[i][j+1],rst[i+1][j]),rst[i][j])+1; 比如输入: 1 0 1 0 0 1 阅读全文
posted @ 2016-07-15 16:09 Pearl_zju 阅读(198) 评论(0) 推荐(0) 编辑