题解 | #求平方根#

求平方根

http://www.nowcoder.com/practice/09fbfb16140b40499951f55113f2166c

#啊这,取个巧,直接import
from math import sqrt as sq
class Solution:
    def sqrt(self , x: int) -> int:
        # write code here
        return int(sq(x))
全部评论

相关推荐

点赞 评论 收藏
分享
一表renzha:手写数字识别就是一个作业而已
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务