随笔分类 - s-acm!
摘要:BM算法-阮一峰的网络日志; 以上给出了通俗易懂的算法讲解,下面给出代码实现,使用的宽字符,这样就不限于英文字母了:(stdafx.h编译不过去就屏蔽掉) 一些例子分析过程: 主字符串: THIS IS A SIMPLE EXAMPLE (长度:24)搜索字符串: EXAMPLE (长度:7) ma
阅读全文
摘要:Question 2Time Limit: 10000msCase Time Limit: 1000msMemory Limit: 256MBDescriptionConsider a string set that each of them consists of {0, 1} only. All...
阅读全文
摘要:Time Limit: 10000msCase Time Limit: 1000msMemory Limit: 256MBDescriptionFind a pair in an integer array that swapping them would maximally decrease th...
阅读全文
摘要:no kiss ,no good."现实点吧,no job,no money~"i love that .(2012-05-0615:46:23)
阅读全文

浙公网安备 33010602011771号