会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
sweetxy
博客园
首页
新随笔
联系
管理
订阅
2016年2月1日
Leetcode_StringToInteger
摘要: public class Solution { public int myAtoi(String str) { if(str.length()==0) return 0; int sign=1;int m=0;//直接定义i=0,n=s.length();使用while循环,这样可以让i在代码任意位
阅读全文
posted @ 2016-02-01 10:34 sweetxy
阅读(130)
评论(0)
推荐(0)
公告