From 17484c513c1e9469b6d5fc024924efe3e7565457 Mon Sep 17 00:00:00 2001 From: mzuenni Date: Sun, 16 Oct 2022 15:55:06 +0200 Subject: fixed ahoCorasick --- string/ahoCorasick.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'string/ahoCorasick.cpp') 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; -- cgit v1.2.3