Problem

Source: Romanian Junior JBkMO TST 2004, problem 7

Tags: absolute value



Let $A$ be a $8\times 8$ array with entries from the set $\{-1,1\}$ such that any $2\times 2$ sub-square of the array has the absolute value of the sum of its element equal with 2. Prove that the array must have at least two identical lines.