Skip to content

Commit

Permalink
Add markdown lint
Browse files Browse the repository at this point in the history
  • Loading branch information
breeze256 authored Dec 22, 2024
1 parent ea59db0 commit b0097c4
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 19 deletions.
2 changes: 1 addition & 1 deletion source/_posts/Rust-读入问题.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ fn main() {
let b: i32 = s.next().unwrap().parse().unwrap();
println!("{}", a + b);
}
```
```
2 changes: 0 additions & 2 deletions source/_posts/VSCode-基本配置.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,3 @@ scoop install vscode
下图是 VSCode 启动后的界面,简单说明如图:

![layout](https://bitbucket.org/breeze256_workspace/imgs/raw/main/notebook/csci/tools/vscode/layout.png)

**待补充**
2 changes: 1 addition & 1 deletion source/_posts/什么是链式前向星.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ for (int i = head[u]; i != 0; i = edge[i].next) {
}
```

当此时的 `edge[i].next``0` 时,说明边 `i` 即为这个点所连的最后一个边,也就是遍历完毕。当然我们也可以把 `next[]` 数组初始化为其它值比如 `-1`,其本质是一样的。
当此时的 `edge[i].next``0` 时,说明边 `i` 即为这个点所连的最后一个边,也就是遍历完毕。当然我们也可以把 `next[]` 数组初始化为其它值比如 `-1`,其本质是一样的。
2 changes: 1 addition & 1 deletion source/_posts/什么?.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ date: 2024-09-17

唯有时间,公正地抹除一切;

梦皆已碎;歌颂时间吧,历史的罪人。
梦皆已碎;歌颂时间吧,历史的罪人。
2 changes: 0 additions & 2 deletions source/_posts/抛物线与直线定点问题.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,3 @@ x = \dfrac{y_1y_2}{2p}.
$$

不难发现, $x$ 的值只与 $y_1y_2$ 及 $P$ 的焦准距有关,即 $MN$ 恒过定点 $\left(\dfrac{y_1y_2}{2p}, 0\right)$。

II.
2 changes: 1 addition & 1 deletion source/_posts/数列小结.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ I. **等差数列有关性质**

先将 $p, q$ 写作 $p = \dfrac{ad}{bd}, q = \dfrac{cd}{bd}$,

则新公差 $d = \dfrac{\text{lcm}(ad, cd)}{bd}$。
则新公差 $d = \dfrac{\text{lcm}(ad, cd)}{bd}$。
9 changes: 4 additions & 5 deletions source/_posts/矩阵乘法.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ $$
AB = C
$$


其中,$C$ 矩阵的第 $i$ 行第 $j$ 列元素可以表示为:

$$
Expand All @@ -34,7 +33,7 @@ $C$ 矩阵的行数等于 $A$ 矩阵的行数,而 $C$ 矩阵的列数等于 $B

$$
C = \begin{bmatrix}
26 & ? \\
26 & ? \\
? & ?
\end{bmatrix}
$$
Expand All @@ -43,7 +42,7 @@ $$

$$
C = \begin{bmatrix}
26 & 38 \\
26 & 38 \\
? & ?
\end{bmatrix}
$$
Expand All @@ -52,7 +51,7 @@ $C_{2, 1} = 2 \times 2 + 4 \times 6 + 5 \times 1 = 33$

$$
C = \begin{bmatrix}
26 & 38 \\
26 & 38 \\
33 & ?
\end{bmatrix}
$$
Expand All @@ -61,7 +60,7 @@ $$

$$
C = \begin{bmatrix}
26 & 38 \\
26 & 38 \\
33 & 42
\end{bmatrix}
$$
Expand Down
7 changes: 3 additions & 4 deletions source/_posts/重温贪心.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ $$
然后我们根据题目,可以计算他们交换前后的值,

$$
Before:
Before:
A:\; \dfrac{\prod_{i = 1}^{n - 1}a_i}{b_n} \;
B:\; \dfrac{\prod_{i = 1}^na_i}{b_{n + 1}} \;
After:
Expand All @@ -42,7 +42,7 @@ $$
由于前面的值不会影响此处 $A$ 与 $B$ 对答案的贡献,我们可以直接把连乘消去,

$$
Before:
Before:
A:\; \dfrac{1}{b_n} \;
B:\; \dfrac{a_n}{b_{n + 1}} \;
After:
Expand All @@ -53,7 +53,7 @@ $$
故 $A$ 与 $B$ 对答案的贡献可以表示为,

$$
Before:
Before:
\max\left(\dfrac{1}{b_n}, \dfrac{a_n}{b_{n + 1}}\right) \;
After:
\max\left(\dfrac{a_{n + 1}}{b_n}, \dfrac{1}{b_{n + 1}}\right)
Expand Down Expand Up @@ -91,4 +91,3 @@ int main() {
从上面的题我们可以看出,贪心本质上是假设每一步行动都是最优,且最后结果也是最优。
适用范围:**最优子结构**问题,即子问题最优解能够递推到总问题最优解;
4 changes: 2 additions & 2 deletions source/_posts/高二上化学总结.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ mathjax: true

### 氯磺酸的水解产物

![](http://ichemistry.cn/png_structures/7790-94-5.png)
![氯磺酸](http://ichemistry.cn/png_structures/7790-94-5.png)

可以看作硫酸被一个羟基取代,故水解后 $\rm{OH^-}$ 重新取代 $\rm{Cl^-}$ 变回硫酸。

Expand Down Expand Up @@ -59,4 +59,4 @@ $$
\ln k = -\dfrac{E_a}{RT} + \ln A,
$$

有结论:活化能越大,反应速率的变化也越大。
有结论:活化能越大,反应速率的变化也越大。

0 comments on commit b0097c4

Please sign in to comment.