Rectangular window
Execution time limit is 2 seconds
Runtime memory usage limit is 256 megabytes
Consider a family of rectangles, each with a perimeter of (P). Determine the rectangle with the smallest area that can encompass any rectangle from this family.
Input
An integer (P) ((1 P 1000)).
Output
Output a single real number — the area of the smallest rectangle, with an absolute or relative error of no more than (10^-8).
Examples
Input #1
Answer #1
Submissions 31
Acceptance rate 68%