![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
哈希
ToheartZhang
这个作者很懒,什么都没留下…
展开
-
Hash中的base与moder的建议
base = 163 moder = 9905411 || 1e9+7原创 2017-08-07 11:18:50 · 712 阅读 · 0 评论 -
[字符串专项] 字符串Hash
单哈希 洛谷 3370#include <algorithm>#include <cstdio>#include <cstring>#include <iostream>using namespace std;typedef unsigned long long ULL;const int MAXM = 1511;const int...原创 2019-03-27 20:29:40 · 176 阅读 · 0 评论