2015年9月5日

第五章

摘要: 1、for循环C++中for(int i=0;;)而c中不允许*++pt将先增加pt 再将*应用于pt;++*pt则先取*pt,然后在 自增*pt++将先pt进行自增,然后取指针 //全都是从右往左2、while循环以系统时间计算时延 1 #include 2 #include 3 int main... 阅读全文

posted @ 2015-09-05 22:03 RenewDo 阅读(89) 评论(0) 推荐(0) 编辑

Longest Substring Without Repeating Characters

摘要: 1 class Solution { 2 public: 3 4 int lengthOfLongestSubstring(string s) { 5 // for ASCII char sequence, use this as a hashmap 6 vector... 阅读全文

posted @ 2015-09-05 11:13 RenewDo 阅读(131) 评论(0) 推荐(0) 编辑

导航