#c22504. 快速集合
快速集合
Quick Gathering
Problem Description
There are people on a number line, and they want to gather at a single point. The -th person starts at position and can move at most units per second. What is the minimum time needed for all people to gather at some point?
Input Format
The first line contains an integer .
The following lines each contain two integers .
Output Format
Output one number: the answer. It is accepted if the relative or absolute error is within .
Sample Input
2
1 2
5 2
Sample Output
1.0000000000
Constraints
For of the data, .