摘要:
先写个暴力的,明天写个hash,或是后缀数组View Code #include<stdio.h>#include<iostream>#include<string.h>#include<queue>#include<stack>#include<set>#include<algorithm>using namespace std;char ss[30009];char cc[30009];int main(){ int n; while(scanf("%d",&n)!=EOF) { 阅读全文
posted @ 2011-08-05 22:26 huhuuu 阅读(261) 评论(0) 推荐(0) 编辑