summaryrefslogtreecommitdiff
path: root/string
diff options
context:
space:
mode:
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;