diff options
| author | mzuenni <michi.zuendorf@gmail.com> | 2022-10-16 15:55:06 +0200 |
|---|---|---|
| committer | mzuenni <michi.zuendorf@gmail.com> | 2022-10-16 15:55:06 +0200 |
| commit | 17484c513c1e9469b6d5fc024924efe3e7565457 (patch) | |
| tree | 7387546c921ce25c41bebf76926069dda8d6f13c /string | |
| parent | 99259d60cb345eae15211397f3199aa86ac2bceb (diff) | |
fixed ahoCorasick
Diffstat (limited to 'string')
| -rw-r--r-- | string/ahoCorasick.cpp | 2 |
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; |
