摘要:
"传送门" 后缀排序裸题,SA上就是了 代码: c++ include include include include using namespace std; void read(int &x) { char ch; bool ok; for(ok=0,ch=getchar(); !isdigit 阅读全文
摘要:
"传送门" 我也没想到map如此垃圾,bitset优秀啊 直接trie树上搜索就好了 代码: c++ include include include include include include using namespace std; void read(int &x) { char ch; b 阅读全文
摘要:
"传送门" ac自动机模板题,裸的多串匹配 代码: c++ include include include include include using namespace std; void read(int &x) { char ch; bool ok; for(ok=0,ch=getchar() 阅读全文
摘要:
"传送门" ac自动机模板,可能我写的ac自动机是有点问题的,所以跑的有些慢 暴力跳fail统计 代码: c++ include include include include include using namespace std; void read(int &x) { char ch; boo 阅读全文