Solution 3 求根 求根的方法没有向下取整,因为 .0f 默认四舍五入。
hack: 100000 4 输出 : 18 right : 17
不知道按题解交上去会不会 WA,不过请求修改或者添加 hack。