2009 Bulgarian Olympiad in Informatics
There is a dangerous minefield somewhere in Bulgaria. You have been assigned to enclose them all with a "warning band" so that future travellers are aware of the danger.
After searching around with a metal detector, you have located all of
the mines. Each mine is a perfectly round shape with radius
Input Specification
On the first line of the standard input, two integers
Output Specification
Output a single line, containing the minimal length of a band.
Your answer will be considered correct if it is within
Sample Input
8 1
1 4
3 2
7 9
5 4
9 5
6 7
9 1
11 8
Sample Output
34.408
Comments