
leetcode之旅001-099
lwjcarrot
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
itoa microsoft 版本
附上itoa microsoft 版本代码, 只能转换2-36进制 (36限制是因为 0-9 a-z 一共36个字符,大于36的话只能用乱码表示了) TCHAR * __cdecl _itox ( int val, TCHAR *buf, int radix ) { if (radix == 1转载 2017-02-28 16:27:19 · 505 阅读 · 0 评论 -
leetcode - 8. String to Integer (atoi)
Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yourself what are the possible input ca原创 2017-02-28 11:25:03 · 347 阅读 · 0 评论