#abc279d. [abc279_d]Freefall

[abc279_d]Freefall

给定两个数 aabb1a,b10181 \le a, b \le 10^{18}),求出 $\min\limits_{g = 1}^\infty\{b \times (g - 1) + \frac{a}{\sqrt{g}}\}$。精度误差不超过 10610^{-6}

translated by

https://www.luogu.com.cn/user/367488