Broken Wall

Limits 1s, 512 MB

Alice has built a rectangular wall of N×MN \times MN×M squares. The wall is made entirely of rectangular black and white bricks.


This is a companion discussion topic for the original entry at https://toph.co/p/brick-by-brick