????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??