摘要:
#include#include#include#include#include#includeusing namespace std;const int root=0;int tot;struct node{ int cnt; int next[26]; void newnode... 阅读全文
摘要:
// hdu2222 //#include#include#include#include#include#include#includeusing namespace std;char k[55],s[1000005];struct node{ int fail; int next[2... 阅读全文
摘要:
// codeforces 471D //#include#include#include#include#include#includeusing namespace std;int n,w;int a[200005],b[200005];int da[200005],db[200005];int... 阅读全文