会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
F
首页
新随笔
管理
2019年3月9日
8. String to Integer (atoi)
摘要: def solution(s): s=s.strip() if(s): l=len(s) first_n=-1 b_n=-1 last_n=-1 f_n=-1 for i in range(l): if(s[i].isdigit()): ...
阅读全文
posted @ 2019-03-09 23:01 anobscureretreat
阅读(162)
评论(0)
推荐(0)