1723: 黑白方块 - CCF-GESP2024年6月四级C++

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:2 Solved:2

Description

Input

Output

输出一个整数,代表最大的平衡子矩形包含格子的数量,如果不存在则输出 0 。

Sample Input Copy

4 5
00000
01111
00011
00011

Sample Output Copy

16

HINT