A one-way highway extends through the Kingdom of Icpca. The highway is divided from start to end into sections that are $$$1$$$ km long, and each section has its speed limit.
You are driving a vehicle and want to travel from the start to the end of this highway. The speed of the vehicle can be changed instantaneously at any time. In each change, you choose a non-negative integer $$$v$$$ and set the speed to $$$v$$$ km/h. If the speed before the change is $$$v'$$$ km/h, this change incurs a cost of $$$|v-v'|$$$. Before leaving the start, the speed of the vehicle is $$$0$$$ km/h. Also, at the moment the vehicle arrives at the end, the speed must be changed to $$$0$$$ km/h.
Find the minimum travel time from the start to the end such that the total incurred cost does not exceed the given cost limit and the vehicle does not exceed the speed limits in any sections
The input contains one or more test cases, each in the following format.
| $$$n$$$ $$$f$$$ |
| $$$a_{1}$$$ $$$a_{2}$$$ $$$\cdots$$$ $$$a_{n}$$$ |
A test case consists of two lines. The first line contains two integers $$$n$$$ and $$$f$$$, where $$$n$$$ is the number of sections of the highway and $$$f$$$ is the limit of the total cost ($$$1 \leq n \leq 2 \times 10^5$$$, $$$2 \leq f \leq 10^{10}$$$). Here, $$$f$$$ is even. The second line contains $$$n$$$ integers $$$a_1, a_2, \ldots, a_n$$$, representing the speed limits of the sections. For $$$i=1,2,\ldots,n$$$, the speed limit of the $$$i$$$-th section from the start is $$$a_i$$$ km/h ($$$1 \leq a_i \leq 10^5$$$).
The end of the input is indicated by a line containing two zeros. The number of test cases does not exceed $$$10^4$$$. The sum of $$$n$$$ over all the test cases does not exceed $$$2 \times 10^5$$$.
For each test case, output in a line the minimum time in hours required to travel from the start to the end. The output is considered correct if the absolute or relative error does not exceed $$$10^{-4}$$$.
5 120120 100 40 100 1205 10010 20 30 20 1010 16030 10 40 10 50 90 20 60 50 303 42 1 23 22 1 25 207 3 8 4 915 141 2 3 4 5 6 7 8 7 6 5 4 3 2 115 606 2 3 5 1 7 2 1 5 9 7 5 3 2 60 0
0.1050000000 0.3333333333 0.4776190476 2.5000000000 3.0000000000 1.1166666667 5.3285714286 5.4968253968
In the first test case of Sample Input 1, the minimum time can be achieved by changing the speed of the vehicle as follows.
The total cost is $$$50+10+10+50=120$$$. The total time is $$$1/25 + 1/40 + 1/25 = 0.105$$$ hours.
| Name |
|---|


