摘要: C++ -> 字符串库 -> std::basic_string定义于头文件 std::string to_string(int value); (1) (C++11起) std::string to_string(long val... 阅读全文
posted @ 2016-09-29 20:43 大白技术控 阅读(7661) 评论(0) 推荐(0) 编辑
摘要: leetcode 400. Nth Digit在线提交网址: https://leetcode.com/problems/nth-digit/Total Accepted: 4356Total Submissions: 14245Difficulty: Ea... 阅读全文
posted @ 2016-09-29 16:49 大白技术控 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 题目1: String Shifting题目描述:我们规定对一个字符串的shift操作如下:shift("ABCD",0)="ABCD"shift("ABCD",1)="BCDA"shift("ABCD",2)="CDAB"换言之, 我们把最左侧的N个字符剪... 阅读全文
posted @ 2016-09-29 10:43 大白技术控 阅读(248) 评论(0) 推荐(0) 编辑