Birthday

A circular cake has radius r and contains n strawberries. Strawberry i is at (x_i, y_i), measured from the centre of the cake. Make one straight cut through the cake so that every strawberry lies on the same side of the cutting line. Discard the smaller resulting piece and keep the larger piece. Return the maximum possible area of the discarded piece.

The input is a flat array [n, r, x_1, y_1, ..., x_n, y_n]. The returned value is a real number. Geometric answers are compared with floating-point tolerance.

Examples
Input: [1,2,0,0]
Output: 6.283185307179586
Hints

Birthday

A circular cake has radius `r` and contains `n` strawberries. Strawberry `i` is at `(x_i, y_i)`, measured from the centre of the cake. Make one straight cut through the cake so that every strawberry lies on the same side of the cutting line. Discard the smaller resulting piece and keep the larger piece. Return the maximum possible area of the discarded piece.