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?

The answer is 2015.

**
This section requires Javascript.
**

You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.

No explanations have been posted yet. Check back later!