summaryrefslogtreecommitdiff
path: root/string/rollingHashCf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'string/rollingHashCf.cpp')
-rw-r--r--string/rollingHashCf.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/string/rollingHashCf.cpp b/string/rollingHashCf.cpp
index 9608aff..b055b29 100644
--- a/string/rollingHashCf.cpp
+++ b/string/rollingHashCf.cpp
@@ -1,6 +1,6 @@
-// q = 29, 53, 101, 257, 1009, 65537
+// q = 29, 53, 101, 257, 1009, 65'537
// or choose q random from [sigma, m)
-// m = 1500000001, 1600000009, 1700000009
+// m = 1'500'000'001, 1'600'000'009, 1'700'000'009
struct Hasher {
vector<ll> power = {1}, pref = {0};
ll m, q; char c;