摘要: POJ 1200 #include <cstdio> #include<string> #include<cstring> using namespace std; bool Hash[16000001]; int w[500]; char s[16000001]; int main(){ int 阅读全文
posted @ 2019-09-12 19:07 天明天明 阅读(92) 评论(0) 推荐(0) 编辑
摘要: #include <cstdio> #include <cstring> #include <algorithm> #include <iostream> using namespace std; #define MAXN 1000017 int Next[MAXN]; char str[MAXN] 阅读全文
posted @ 2019-09-12 19:05 天明天明 阅读(130) 评论(0) 推荐(0) 编辑
摘要: #include<iostream> #include<cstdio> #include<cstring> #include<string> #include<algorithm> using namespace std; const int maxn=1e6+5; int net[maxn]; c 阅读全文
posted @ 2019-09-12 18:54 天明天明 阅读(100) 评论(0) 推荐(0) 编辑