Skip to content

Commit b66a62a

Browse files
Update String-Hash.cpp
1 parent c3e6105 commit b66a62a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

字符串/String-Hash.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
// 1-based
22
// 支持char/int/ll
3-
// push - 加在末尾
4-
// build - 重建
3+
// push - 加在末尾
4+
// build - 重建
5+
// hash(l,r) - 获取 [l,r] 的 hash
56
struct Hashing {
67
array<ll, 2> seed, mod;
78
array<vector<ll>, 2> hs, pw;

0 commit comments

Comments
 (0)