Problem 1277 · Medium

Count Square Submatrices with All Ones

Count every square submatrix containing only ones.

Open the interactive visualisation