代码
文章平均质量分 70
mixiangwenhui
这个作者很懒,什么都没留下…
展开
-
Add Digits leetCode
Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. For example: Given num = 38, the process is like: 3 + 8 = 11, 1 + 1 = 2. Since 2 has on原创 2015-09-03 10:49:32 · 202 阅读 · 0 评论 -
c++ new() 与new[]的区别转自http://blog.sina.com.cn/s/blog_52e27e8a0100rr24.html
转自http://blog.sina.com.cn/s/blog_52e27e8a0100rr24.html c++ new() 与new[]的区别 (2011-06-07 22:22:37)转载▼ 标签: c new delete 杂谈 分类: 网络经典 new和delete运算符用于动态分配和撤销内存的运算符 new用法: 1. 开辟单变量地址空间转载 2015-09-03 12:57:18 · 1011 阅读 · 0 评论