From 3e1879de5b7c985cfaf730102fef1effb3e2051d Mon Sep 17 00:00:00 2001 From: Noobie99 Date: Tue, 28 Mar 2023 14:22:07 +0200 Subject: fix --- string/suffixAutomaton.cpp | 2 +- tcr.pdf | Bin 652615 -> 668407 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/string/suffixAutomaton.cpp b/string/suffixAutomaton.cpp index 4cc2a92..291f760 100644 --- a/string/suffixAutomaton.cpp +++ b/string/suffixAutomaton.cpp @@ -17,7 +17,7 @@ struct SuffixAutomaton { void extend(int c) { int p = cur; - int cur = sz(st); + cur = sz(st); st.emplace_back(st[p].len + 1); for (; p != -1 && !st[p].next[c]; p = st[p].link) { st[p].next[c] = cur; diff --git a/tcr.pdf b/tcr.pdf index 9adbc59..53f90e7 100644 Binary files a/tcr.pdf and b/tcr.pdf differ -- cgit v1.2.3