见收藏的两个模版
模版需要修改:
while (r - l > 1e-8) //! { double mid = (l + r) / 2; //! if (mid * mid * mid >= x) r = mid; else l = mid; //! }