| 시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
|---|---|---|---|---|---|
| 1 초 (추가 시간 없음) | 1024 MB | 7 | 5 | 5 | 71.429% |
ByteCity is the capital of Byteland. It can be described as a convex polygon with $n$ vertices, surrounded by walls.
The mayor of Bytecity decided to upgrade the weapons that the army of ByteCity is using. If new guns have a firing range $d$ ($d \ge 0$) then the mayor of the city would consider all terrain inside the city and all terrain on the distance no further than $d$ from the city walls as loyal.
Pride of the mayor will be satisfied if loyal area will be at least $S$. What is the minimum value of guns' firing range he need to buy for his army?
In the first line you are given two integers $n$ and $S$ ($3 \le n \le 5 \cdot 10^4, 1 \le S \le 10^{13}$) --- number of vertices in city polygon and needed area of loyal terrain.
In each of the next $n$ lines you are given two integers $x$ and $y$ ($-10^6 \le x, y \le 10^6$) --- coordinates of polygon vertices.
It is guaranteed that these $n$ points are vertices of convex polygon given in counterclockwise order.
Output a single number --- minimum fire range of guns. Your answer considered will be correct if its absolute or relative error doesn't exceed $10^{-6}$.
4 2 0 0 1 0 1 1 0 1
0.21402387849518847