Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc098d82

Browse files
Oleksandr Kulkovadamant-pwn
Oleksandr Kulkov
authored andcommitted
Update suffix-automaton.md
1 parent6b59f75 commitc098d82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/string/suffix-automaton.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ $$cnt[link(v)] \text{ += } cnt[v]$$
596596
This gives the correct value for each state.
597597

598598
Why is this correct?
599-
The total states obtainednot via cloningare exactly $length(T)$, and the first $i$ of them appeared when we added the first $i$ characters.
599+
The totalnumber ofstates obtained_not_ via cloningis exactly $length(T)$, and the first $i$ of them appeared when we added the first $i$ characters.
600600
Consequently for each of these states we count the corresponding position at which it was processed.
601601
Therefore initially we have $cnt = 1$ for each such state, and $cnt = 0$ for all other.
602602

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp