We call a table consisting of zeros and ones right if the sum of the numbers in each row and each column is equal to . Two right tables are called similar if one can get from one to the other by successive interchanges of rows and columns. Find the largest possible size of a set of pairwise similar right tables.
KZ-MO 2012
Kazakhstan Mathematical Olympiad 2012.