Problem

COM-B2-M05-P020 Switching Rows and Columns

#20 Grade 10 Grade 11 ★★★★★ Level 5 of 5

On an \(m\times n\) board, all cells are white. In one move, choose a row or a column and change the colours of all cells in it. Prove that every reachable colouring has the property that the corners of any rectangle contain an even number of black cells. Also prove the converse: if a colouring has this property, then it can be obtained by such moves.