摘要:
本题题意是要自己写一个atoi函数(将字符串转换成整数),思想很简单,关键是有几处细节需要考虑: 1.数字前面有空格,如s=" 123456",空格需舍弃。2.数字前出现了不必要或多于的字符导致数字认证错误,输出0。如s=" b1234",s=" ++1233", s=" +-1121"。3.数字中 阅读全文
posted @ 2017-02-02 16:16
Strawberry丶
阅读(1123)
评论(0)
推荐(0)
摘要:
转自:http://www.cnblogs.com/ywl925/p/3507945.html ID Question Diff Freq Data Structure Algorithms 阅读全文
posted @ 2017-02-02 15:07
Strawberry丶
阅读(301)
评论(0)
推荐(0)

浙公网安备 33010602011771号