会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
yyyjw
博客园
首页
新随笔
联系
订阅
管理
2024年1月25日
leedcode x的平方根
摘要: 暴力搜索 class Solution: def mySqrt(self, x: int) -> int: if x>=100 and x<10000: i=10 elif x>=10000 and x<1000000: i=100 elif x>=1000000: i=1000 else: i=0
阅读全文
posted @ 2024-01-25 10:31 Junior_bond
阅读(6)
评论(0)
推荐(0)
公告