摘要: #include #include char A[100],B[100];int next[100];int n, m;void _next(){ int i = 1; int j = 0; next[1] = 0; while(im) return i-m; else return -1;}int main(int argc, char const *argv[]){ int t; scanf("%d", &t); while(t--){ scanf("%s", B); scanf("%s", A); ... 阅读全文
posted @ 2013-10-15 20:54 Levi.duan 阅读(166) 评论(0) 推荐(0) 编辑