CF360B Levko and Array
Description
Levko has an array that consists of integers: $ a_{1},a_{2},...\ ,a_{n} $ . But he doesn’t like this array at all.
Levko thinks that the beauty of the array $ a $ directly depends on value $ c(a) $ , which can be calculated by the formula:
 The less value $ c(a) $ is, the more beautiful the array is.It’s time to change the world and Levko is going to change his array for the better. To be exact, Levko wants to change the values of at most $ k $ array elements (it is allowed to replace the values by any integers). Of course, the changes should make the array as beautiful as possible.
Help Levko and calculate what minimum number $ c(a) $ he can reach.
Input Format
N/A
Output Format
N/A
Explanation/Hint
In the first sample Levko can change the second and fourth elements and get array: $ 4 $ , $ 4 $ , $ 4 $ , $ 4 $ , $ 4 $ .
In the third sample he can get array: $ 1 $ , $ 2 $ , $ 3 $ , $ 4 $ , $ 5 $ , $ 6 $ .