摘要: 枚举第一串的所有子串,看其他串是否也有View Code #include <iostream>#include <cstdlib>#include <cstring>#include <cstdio>using namespace std;#define maxn 11string st[maxn];int n;void input(){ scanf("%d", &n); getchar(); for (int i = 0; i < n; i++) getline(cin, st[i]);}void work( 阅读全文
posted @ 2011-03-06 13:00 金海峰 阅读(410) 评论(0) 推荐(0) 编辑