Question 62
There are 100 squares in a $10 \times 10$ grid table. Each square is painted in one colour. What is the maximum number of colours that may be used, so that in each row, and also in each column, the number of different colours used does not exceed five?