没人发这消息???????????# PDA - 掌中宝
h*k
1 楼
Have a matrix, where each cell is filled with either 1 or 0. Design an
algorithm to find the maximum subsquare such that all four borders are
filled with 1.
For example
0 0 0 0 0 0
0 1 1 1 0 0
0 1 0 1 0 0
0 1 1 1 0 0
0 0 0 0 0 0
0 0 0 0 0 0
The cell inside the subsquare may be filled by 1 or 0.
algorithm to find the maximum subsquare such that all four borders are
filled with 1.
For example
0 0 0 0 0 0
0 1 1 1 0 0
0 1 0 1 0 0
0 1 1 1 0 0
0 0 0 0 0 0
0 0 0 0 0 0
The cell inside the subsquare may be filled by 1 or 0.