LeetCode 69_ x 的平方根

1. 题目描述

 

2. 代码

1 class Solution:
2     def mySqrt(self, x: int) -> int:
3         return int(x ** 0.5)

 

posted @ 2020-10-19 19:46  vv_869  阅读(78)  评论(0编辑  收藏  举报