summaryrefslogtreecommitdiff
path: root/string
diff options
context:
space:
mode:
authorMZuenni <michi.zuendorf@gmail.com>2022-11-30 12:43:36 +0100
committerMZuenni <michi.zuendorf@gmail.com>2022-11-30 12:43:36 +0100
commit702469ce6f966270997bfe43a9fb9881df2c0ff0 (patch)
treea7bc8db9fccdec27348515bd3128e51606f85e31 /string
parent03788f48be2634c36cd19ba25b0a851685b9c877 (diff)
parent40f598b33ac8b60774bed5c12fb89fe4e5d586c1 (diff)
Merge branch 'new-master' of github.com:mzuenni/ContestReference into new-master
Diffstat (limited to 'string')
-rw-r--r--string/ahoCorasick.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/string/ahoCorasick.cpp b/string/ahoCorasick.cpp
index 530490e..bfde5b6 100644
--- a/string/ahoCorasick.cpp
+++ b/string/ahoCorasick.cpp
@@ -1,5 +1,5 @@
constexpr ll ALPHABET_SIZE = 26;
-constexpr char OFFSET = 26;
+constexpr char OFFSET = 'a';
struct AhoCorasick {
struct vert {
int suffix, exit, character, parent;