摘要:
枚举第一串的所有子串,看其他串是否也有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( 阅读全文