//目录
摘要: A. Chess Tourney Berland annual chess tournament is coming! Organizers have gathered 2·n chess players who should be divided into two teams with n peo 阅读全文
posted @ 2017-08-22 21:05 小草的大树梦 阅读(287) 评论(0) 推荐(1) 编辑
摘要: 有两个S,T串,扩展KMP求,每一个S串的后缀和T串的最长公共前缀长度。 详细介绍:https://wenku.baidu.com/view/8e9ebefb0242a8956bece4b3.html 简单介绍一下: 扩展KMP,通过先处理T串next数组,然后用同样的方法去处理S,T; 具体意义: 阅读全文
posted @ 2017-08-22 00:20 小草的大树梦 阅读(201) 评论(0) 推荐(0) 编辑