Skip to content

Commit 37ab2c3

Browse files
committed
修正 LaTex 公式
1 parent 366fbad commit 37ab2c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/solutions/0400-0499/count-the-repetitions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
5. 当 $str1[i] = str2[j]$ 时,$j$ 指针前进;否则只前进 $i$ 指针。
5959
6. 当 $j$ 指针到达 $str2$ 末尾时,说明完成了一次 $str2$ 的匹配,计数器加 $1$,$j$ 重置为 $0$。
6060
7. 重复这个过程直到遍历完 $n1$ 个 $str1$,统计总共能匹配多少个完整的 $str2$。
61-
8. 最终答案是 $\lfloor \frac{匹配的 str2 个数}{n2} \rfloor$。
61+
8. 最终答案是 $\lfloor \frac{\text{匹配的 str2 个数}}{n2} \rfloor$。
6262

6363
### 思路 1:代码
6464

0 commit comments

Comments
 (0)