1
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.
Problem Description
给定 行 列的 矩阵,输出能找到的最大的一个全 子矩阵,输出它的面积。
Input Format
第一行一个数 表示数据组数。
接下来 组数据,第一行两个数, 和 ,接下来 行,每行 个数字。
Output Format
输出 行,每行输出一个数,表示最大面积。
Sample
1
5 6
1 1 1 1 1 0
1 0 1 1 1 1
1 0 1 1 1 1
1 1 0 1 1 1
1 1 1 1 0 1
9
Hint
重庆邮电大学第二十一届ACM程序设计大赛(团体赛)
- Status
- Done
- Rule
- XCPC
- Problem
- 10
- Start at
- 2026-4-26 13:00
- End at
- 2026-4-26 19:00
- Duration
- 6 hour(s)
- Host
- Partic.
- 10