Skip to content

Commit

Permalink
Update 2024-05-27-suffix-automaton-instead-of-suffix-array-2.md
Browse files Browse the repository at this point in the history
  • Loading branch information
psb0623 committed May 27, 2024
1 parent 9f1a9cf commit afbe182
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ struct SuffixAutomaton {
```c++
set<int> s[N];
bool vis[N];
void dfs(int cur) {
if(vis[cur]) return;
vis[cur] = 1;
Expand All @@ -77,6 +78,7 @@ void dfs(int cur) {

```c++
set<int> s[N];
bool vis[N];
void dfs(int cur) {
if(vis[cur]) return;
vis[cur] = 1;
Expand Down

0 comments on commit afbe182

Please sign in to comment.