摘要:
字典树(Trie)模板(于是他错误的点名开始了) 原题目: P2580 于是他错误的点名开始了 - 洛谷 | 计算机科学教育新生态 (luogu.com.cn) #include<bits/stdc++.h> using namespace std; const int maxn=1e6+7,max 阅读全文
摘要:
字符串hash模版 原题目:P3370 【模板】字符串哈希 - 洛谷 | 计算机科学教育新生态 (luogu.com.cn) #include<bits/stdc++.h> using namespace std; typedef long long ll; const ll seed=31,mod 阅读全文
摘要:
嘤嘤嘤,学了字符串 阅读全文