Problem #PRU-109487

Problems Combinatorics Colorings of the board

Problem

In the \(n\times n\) table, the two opposite corner squares are black and the rest are white. Find the smallest number of white cells that is enough to be repainted black in order to make all the cells of the table black with only there transformations: repaint all the cells of one column, or all the cells of one row into the opposite colour.