摘要: http://www.tsinsen.com/new/A1280 双回文串,正着做一遍,倒着做一遍,维护每个节点 向前向后的最长回文子串长度(len[ last ]) 1 #include <bits/stdc++.h> 2 const long long mod = 1e9+7; 3 const 阅读全文
posted @ 2017-10-26 21:21 HITLJR 阅读(537) 评论(0) 推荐(0) 编辑