发表于: 2018-02-13 20:12:19

1 565


今天完成的事情:

241. 转换字符串到整数(容易版) 

Given a string, convert it to an integer. You may assume the string is a valid integer number that can be presented by a signed 32bit integer (-231 ~ 231-1).



明天计划的事情:


遇到的问题:

int类型正负并不完全对应,类型转换的问题。

char类型数字转int就是‘n’-'0'


收获:


参考:



返回列表 返回列表
评论

    分享到