随笔分类 -  s-acm!

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