Long Long Message
摘要:
poj2774:http://poj.org/problem?id=2774题意:求两个串的最长公共子串。题解:求出后缀数组,然后求height数组,找出最大的值,并且这两个子串在不同的原串中即可。 1 #include 2 #include 3 #include 4 using namespace... 阅读全文
posted @ 2014-08-12 19:45 天依蓝 阅读(157) 评论(0) 推荐(0) 编辑