Type: RemoteJudge 1000ms 125MiB

最大正方形

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

题目描述

在一个 n×mn\times m 的只包含 0011 的矩阵里找出一个不包含 00 的最大正方形,输出边长。

输入格式

输入文件第一行为两个整数 n,m(1n,m100)n,m(1\leq n,m\leq 100),接下来 nn 行,每行 mm 个数字,用空格隔开,0011

输出格式

一个整数,最大正方形的边长。

4 4
0 1 1 1
1 1 1 0
0 1 1 0
1 1 0 1

2

B23信心竞速赛

Not Attended
Status
Done
Rule
Ledo
Problem
8
Start at
2024-10-25 18:30
End at
2024-10-25 20:30
Duration
2 hour(s)
Host
Partic.
18