This has nothing to do with linear algebra.
This was a 1997 IMO problem.
A matrix which entries from is called "special" if for each the union of the -th row and the -th column contains distinct entries. Prove that there exist no special matrix if . Prove that there exists an infinite number of special matrix.