Problem

Source: 2021CHKMO Q1

Tags: combinatorics



There is a table with $n$ rows and $18$ columns. Each of its cells contains a $0$ or a $1$. The table satisfies the following properties: Every two rows are different. Each row contains exactly $6$ cells that contain $1$. For every three rows, there exists a column so that the intersection of the column with the three rows (the three cells) all contain $0$. What is the greatest possible value of $n$?