diff options
| author | Noobie99 <noob999noob999@gmail.com> | 2023-03-28 14:22:07 +0200 |
|---|---|---|
| committer | Noobie99 <noob999noob999@gmail.com> | 2023-03-28 14:22:07 +0200 |
| commit | 3e1879de5b7c985cfaf730102fef1effb3e2051d (patch) | |
| tree | 998a69602cf795d16a3ad1732c741edea89fdd78 | |
| parent | fe5fa1141efeb7454c763dbd2645fb4ff04487a3 (diff) | |
fix
| -rw-r--r-- | string/suffixAutomaton.cpp | 2 | ||||
| -rw-r--r-- | tcr.pdf | bin | 652615 -> 668407 bytes |
2 files changed, 1 insertions, 1 deletions
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; Binary files differ |
