# Codility Min Perimeter Rectangle

#### Posted on January 2, 2014

##### Last updated on January 2, 2014

Solution to Codility Min-Perimeter-Rectangle problem.

Given a rectangle area $$A$$, find the smallest possible perimeter for a rectangle with integer sidelengths and area $$A$$.

We just iterate through all the possible divisors, and update the mininum perimeter.

Markdown SHA1: 1d2bd7cbb57678bc8c8dd2ac7f38807a3e6f3170