Краткий ответ: отметь все клетки по краю квадрата \(5\times5\), а внутренние \(3\times3\) клетки оставь пустыми.
Обозначение: ■ — отмеченная клетка, □ — пустая.
\[ \begin{array}{ccccc} \blacksquare&\blacksquare&\blacksquare&\blacksquare&\blacksquare\\ \blacksquare&\square&\square&\square&\blacksquare\\ \blacksquare&\square&\square&\square&\blacksquare\\ \blacksquare&\square&\square&\square&\blacksquare\\ \blacksquare&\blacksquare&\blacksquare&\blacksquare&\blacksquare \end{array} \]
Фигура связная: по отмеченным клеткам можно пройти по краю от любой клетки к любой другой.
Периметр состоит из:
- внешней границы квадрата: \(5\cdot4=20\);
- границы внутреннего пустого квадрата \(3\times3\): \(3\cdot4=12\).
\[ P=20+12=32. \]
Значит, условие выполнено.
