题解 | #求平方根#
求平方根
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))
求平方根
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))
相关推荐