| JPC 1.0 |
|---|
| Finished |
You are given $$$N$$$ points on a 2D plane, what is the minimum area of a rectangle that covers all the points and one of its sides is parallel to the x-axis and the other to the y-axis.
The first line contains one integer $$$n$$$ $$$(1 \leq n \leq 54321)$$$.
The next lines each contains two numbers $$$x$$$ and $$$y$$$ $$$(-10^9 \leq x, y \leq 10^9)$$$.
Print a single number, the area of the rectangle.
Your answer is considered correct if its absolute or relative error doesn't exceed $$$10^{-6}$$$. Namely, if your answer is $$$a$$$, and the jury's answer is $$$b$$$, then your answer is accepted, if $$$\frac{|a - b|}{max(1, |b|)} \leq 10^{-6}$$$.
3 1.0 2.0 -1.0 -1.0 -2.0 2.0
9.000000
4 1.000000 1.000000 1.000000 1.500000 1.500000 1.000000 1.500000 1.500000
0.250000
| Name |
|---|


