Problem

Source: Stars of Mathematics 2011 - Juniors - Problem 3

Tags: geometry, perimeter, combinatorics proposed, combinatorics



The checkered plane is painted black and white, after a chessboard fashion. A polygon $\Pi$ of area $S$ and perimeter $P$ consists of some of these unit squares (i.e., its sides go along the borders of the squares). Prove the polygon $\Pi$ contains not more than $\dfrac {S} {2} + \dfrac {P} {8}$, and not less than $\dfrac {S} {2} - \dfrac {P} {8}$ squares of a same color. (Alexander Magazinov)