OSDN Git Service

Update docs/string/bm.md
authormgt <mgt@oi-wiki.org>
Wed, 28 Oct 2020 12:01:26 +0000 (20:01 +0800)
committerGitHub <noreply@github.com>
Wed, 28 Oct 2020 12:01:26 +0000 (20:01 +0800)
Co-authored-by: Xeonacid <h.dwwwwww@gmail.com>
docs/string/bm.md

index 4f80151..06a9e87 100644 (file)
@@ -28,7 +28,7 @@ $$
 
  **观察 1** :
 
-如果我们知道 $char$ 这个字符不在 $pat$ 中,我们就不用考虑 $pat$ 从 $string$ 的第 1 个、第 2 个……第 $patlen$ 个字符起出现的情况,,而可以直接将 $pat$ 向下滑动 $patlen$ 个字符。
+如果我们知道 $char$ 这个字符不在 $pat$ 中,我们就不用考虑 $pat$ 从 $string$ 的第 $1$ 个、第 $2$ 个……第 $patlen$ 个字符起出现的情况,,而可以直接将 $pat$ 向下滑动 $patlen$ 个字符。
 
  **观察 2** :