Problem 1277 · Medium
Count every square submatrix containing only ones.
Open the interactive visualisation