[UVA] 836 - Largest Submatrix
Largest Submatrix
Let A be an
N×N matrix of zeros and ones. A submatrix
S of A is any group of contiguous entries that forms a
square or a rectangle.
Write a program that determines the number of elements of the
largest submatrix of ones in A. Larg...