Problem L
PUBNite
Recently, Anthony has really gotten into the battle royale games. His favorite game is PUBNite.
In PUBNite, many players fight against each other and try to be the last one alive. One of the most well-known mechanics in PUBNite is the safety zone, which is a circular area. Players outside of the safety zone will take one damage per second continuously.
In PUBNite the safety zone is shrinking at the start of the
game. The safety zone is centered at coordinate
Input
The first line of the input contains integers
The second line of the input contains integers
Output
A single number
Sample Input 1 | Sample Output 1 |
---|---|
2 1 1 3 2 2 5 1 |
2.000000 |
Sample Input 2 | Sample Output 2 |
---|---|
2 1 1 3 2 2 4 1 |
0.000000 |