摘要: Given a string containing only digits, restore it by returning all possible valid IP address combinations. For example: Given "25525511135", return [" 阅读全文
posted @ 2015-06-26 17:48 linqiaozhou 阅读(257) 评论(0) 推荐(0)
摘要: int转string的方法类似··············· 但是int到string的转换最简单粗暴的方法就是用to_string(). 把一个字符加入到string的末尾 直接用string的+就行了,以前不能用append,因为append需要传入的是字符串类型,字符类型不管用。 阅读全文
posted @ 2015-06-26 15:42 linqiaozhou 阅读(409) 评论(0) 推荐(0)