Setter: saquib ul hassan
We need to place E electrons in a magnetic. To minimize the repelling force among electrons he wants to place the electrons, such that the minimum distance between any two of them is as large as possible. So find the largest minimum distance.
In this problem we binary search on the lowest and highest possible value that be taken as the distance and check whether the high is appropiate distance or not. If not, we continue with out binary search And at last display the high value.