发表于: 2018-02-13 20:12:19
1 564
今天完成的事情:
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'
收获:
参考:
评论