摘要: 哈希 多哈希板子 struct Hash{ //胡老板的板子很干净,但多哈希相对慢一些,大约两倍时长 //从下标为1开始用 int base[4],mod[4]; int tot,hash[4][maxn],pw[4][maxn]; //字符串长度,hash:记从1~i的hash值,pw:记录bas 阅读全文
posted @ 2020-11-26 21:43 zx0710 阅读(92) 评论(0) 推荐(0) 编辑