@@ -0,0 +1,362 @@
+import math%0Aclass Solution(object):%0A    def constructRectangle(self, area):%0A        %22%22%22%0A        :type area: int%0A        :rtype: List%5Bint%5D%0A        %22%22%22%0A        w = int(math.floor(math.sqrt(area)))%0A        while w %3E 1:%0A            d = int(area %25 w)%0A            if d == 0:%0A                return %5Bint(area/w), w%5D%0A            w -= 1%0A        return %5Barea, w%5D%0A        %0A

Solve task #492