摘要: 分析看这个大神的,我的还是参考他说的算法实现的:http://www.dxmtb.com/blog/diff/ 1 #include<cstdio> 2 #include<cstring> 3 #include<iostream> 4 #include<algorithm> 5 using namespace std; 6 const int maxm = 1000005; 7 const int maxn = 50005; 8 9 10 int C[maxn],next[maxn],B[maxn];11 int flag[maxm];12 st 阅读全文
posted @ 2013-06-03 18:31 等待最好的两个人 阅读(416) 评论(0) 推荐(0) 编辑