# 2015 table

Every square of a $$2015 \times 2015$$ table contains either 1 or $$-1$$. It is known that the sum of the numbers in every $$2\times2$$ square is equal to zero. What is the maximum sum of all the digits in the table?

×