C. Two strings 二分 + 预处理
摘要:
http://codeforces.com/contest/762/problem/C 第一个串str[],第二个sub[] 预处理出prefix[i]表示sub的前i位和str[]的最长lcs去到str[]的最小的位置,如果某一位i不成立了,就设为inf 由于处理的时候,指针指向str[]的是单调 阅读全文
posted @ 2017-01-26 23:22 stupid_one 阅读(133) 评论(0) 推荐(0) 编辑