Fiber Shape

아직 제출이 없습니다시간 제한3초메모리 제한512 MB

문제

Imagine a board with nn pins put into it, the ii-th pin is located at (x_i,y_i)(x\_i, y\_i). For simplicity, we will restrict the problem to the case where the pins are placed in vertices of a convex polygon.

Then, take a non-stretchable string of length ll, and put it around all the pins. Place a pencil inside the string and draw a curve around the pins, trying to pull the string in every possible direction. The picture below shows an example of a string tied around the pins and pulled by a pencil (a point PP).

Your task is to find an area inside this curve. Formally, for a given convex polygon SS and a length ll let's define a fiber shape F(S,l)F(S, l) as a set of points tt such that the perimeter of the convex hull of StS \cup \\{t\\} does not exceed ll. Find an area of F(S,l)F(S, l).

입력

The first line contains two integers nn and ll (3n1043 \le n \le 10^4; 1l81051 \le l \le 8 \cdot 10^5) --- the number of vertices of the polygon SS and the length of the string. Next nn lines contain integers x_ix\_i and y_iy\_i (105x_i,y_i105-10^5 \le x\_i, y\_i \le 10^5) --- coordinates of polygon's vertices in counterclockwise order. All internal angles of the polygon are strictly less than π\pi. The length ll exceeds the perimeter of the polygon by at least 10310^{-3}.

출력

Output a single floating-point number --- the area of the fiber shape F(S,l)F(S, l). Your answer will be considered correct if its absolute or relative error doesn't exceed 10610^{-6}.

힌트

The following pictures illustrate the example tests.