??????2013??У?б?????????
???????????? ???????[ 2013/10/29 9:39:26 ] ????????????
????10??17???360У?в?????????
????1??д?????????
????2????????????hashmap??????key?????????
????3?????????·??“D/test/test.txt”?????м??????????????“?????????????1-10??360???????????1-10”???ó?????????????????????г????????????????????????????????С?
????4????????????????????????
????5??TCP?????????????????????????????????????????????????????
????????2014У?ж???
????????????10w????д???????50????????????50???????????????д??
?????????????仰??????????ж???50??????????????10w????д?????????????????????????ж???????????????????????????????????????????????????????????????????????????????????????????????kmp??hash??trie??AC???????wm????http://stblog.baidu-tech.com/?p=418??
?????????????????????????????????ó?????????10w + 50?????????????????????????ò?????????;?????????ε????????hash????hash??????????????tire??????????????10w????д????trie??????????50?????????????10w??д??????tire????????tire???????????????????????Double Array Trie???????????????
??????????????????????????????飬???????????????????????????????飬??????????k??????????
??????????????????Ben????http://blog.csdn.net/tnndye/article/details/12857577 ????????“?????????????????A??B??????N???????????????????????????C??N^2??????
??????????????Щ?????N?????????У?
????A[1]+B[1] <= A[1]+B[2] <= A[1]+B[3] <=…
????A[2]+B[1] <= A[2]+B[2] <= A[2]+B[3] <=…
????…
????A[N]+B[1] <= A[N]+B[2] <= A[N]+B[3] <=…
?????????????????N????????????????kС?????”??http://blog.csdn.net/v_JULY_v/article/details/6370650??
????????????棺
?????????????A??B????A???????????B?е??????????A=“hello world”??B="er"???????????A???"hllowold"????臨????????O(1)????臨????????á?
????????????????????@kanrence?????????B??????????asc???????1????????A????????1??A????????????@?????Go???asc??bitvector?? O(m+n); ???B???vecotr???????A????????????????????????127???????????????臨???O(1)?????????б??????????λ??????????????????http://weibo.com/1580904460/AeNifo3tI?mod=weibotime??
???????1???????
????1???????int?????飬??????????????????????1??-1.????????????????????????????????е?λ?á?
????2???????????飬??????????????a-z??A-Z??0-9.??????????????????????????Сд?????????棬???д?д????????м????????????????????????????????
???????????????????coding??????????????????????????????????????ū???????????????http://blog.csdn.net/xiajun07061225/article/details/8882981??
????10??17???????2014У???????????
????1??i)
????[cpp] view plaincopyprint?
????Class A{
????...
????};
????A *pa = new A();
????A *pas = new A[NUM]();
????1.delete []pas; //???????
????2.delete []pa; //??????
????3.delete pas; //??Щ??????????
????Class A{
????...
????};
????A *pa = new A();
????A *pas = new A[NUM]();
????1.delete []pas; //???????
????2.delete []pa; //??????
????3.delete pas; //??Щ??????????
????ii)????????????????new??delete???????????
????iii)??malloc?????????漰???????????
????iv)???????????????
???????????http://www.itmian4.com/forum.php?mod=viewthread&tid=3753??
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11