We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3e6105 commit b66a62aCopy full SHA for b66a62a
字符串/String-Hash.cpp
@@ -1,7 +1,8 @@
1
// 1-based
2
// 支持char/int/ll
3
-// push - 加在末尾
4
-// build - 重建
+// push - 加在末尾
+// build - 重建
5
+// hash(l,r) - 获取 [l,r] 的 hash
6
struct Hashing {
7
array<ll, 2> seed, mod;
8
array<vector<ll>, 2> hs, pw;
0 commit comments