Skip to content

Commit 09b235f

Browse files
committed
more fixes
1 parent cec43fd commit 09b235f

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

library/strings/suffix_array/compare/compare_substrings.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#pragma once
22
#include "compare_suffixes.hpp"
33
//! @code
4+
//! string s;
45
//! auto [sa, sa_inv, lcp] = get_sa(s, 256);
56
//! sa_query saq(s, sa, sa_inv, lcp);
67
//! int cmp = saq.cmp_substrs(l1,r1,l2,r2);

library/strings/suffix_array/compare/compare_suffixes.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#pragma once
22
//! @code
3+
//! string s;
34
//! auto [sa, sa_inv, lcp] = get_sa(s, 256);
45
//! sa_query saq(s, sa, sa_inv, lcp);
56
//! int cmp = saq.cmp_sufs(l1,l2);

library/strings/suffix_array/find/find_substring.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#pragma once
22
//! @code
3+
//! string s;
34
//! auto [sa, sa_inv, lcp] = get_sa(s, 256);
45
//! sa_query saq(s, sa, sa_inv, lcp);
56
//! auto [sa_le,sa_ri] = saq.find_substr(s_l,s_r);

library/strings/wildcard_pattern_matching.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#pragma once
22
//! https://codeforces.com/blog/entry/111380
33
//! @code
4+
//! vi s_vec, t_vec;
45
//! auto mtch = wildcard_pattern_matching(
56
//! s_vec, t_vec, conv);
67
//! @endcode

library/trees/tree_lift/tree_lift.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#pragma once
22
//! https://github.com/ucf-programming-team/hackpack-cpp/blob/master/content/graphs/TreeLifting.h
33
//! @code
4+
//! vector<vi> adj(n);
45
//! tree_lift tree_l(adj);
56
//! int kth_p = tree_l.kth_par(v, k);
67
//! @endcode

0 commit comments

Comments
 (0)