69. x 的平方根 golang

Me

https://leetcode-cn.com/problems/sqrtx/submissions/

func mySqrt(x int) int {
    return int(math.Sqrt(float64(x)))
}
发布了267 篇原创文章 · 获赞 223 · 访问量 32万+

猜你喜欢

转载自blog.csdn.net/csdn_kou/article/details/104110090