atcoder#ABC255B. [ABC255B] Light It Up
[ABC255B] Light It Up
Score : points
Problem Statement
There are people numbered in the -plane. Person is at the coordinates . of these people, Persons , will receive lights of the same strength. When a person at coordinates has a light of strength , it lights up the interior of a circle of radius centered at (including the boundary). Find the minimum strength of the lights needed for every person to be lit by at least one light.
Constraints
- All values in input are integers.
- , if .
Input
Input is given from Standard Input in the following format:
Output
Print the answer as a real number. Your output will be considered correct if its absolute or relative error from the judge's output is at most .
4 2
2 3
0 0
0 1
1 2
2 0
2.23606797749978969
This input contains four people. Among them, Persons and will have lights. Every person will be lit by at least one light if .
2 1
2
-100000 -100000
100000 100000
282842.712474619009
8 3
2 6 8
-17683 17993
93038 47074
58079 -57520
-41515 -89802
-72739 68805
24324 -73073
71049 72103
47863 19268
130379.280458974768