Problem

Source: Czech-Polish-Slovak Junior Match 2017, individual p5 CPSJ

Tags: combinatorics



Each field of the table $(mn + 1) \times (mn + 1)$ contains a real number from the interval $[0, 1]$. The sum the numbers in each square section of the table with dimensions $n x n$ is equal to $n$. Determine how big it can be sum of all numbers in the table.