Loading docs/ds/decompose.md +4 −3 Original line number Diff line number Diff line Loading @@ -29,6 +29,7 @@ author: Ir1d, HeRaNO, Xeonacid $1 \leq n \leq 5 \times 10^4$ 我们将序列按每 $s$ 个元素一块进行分块,并记录每块的区间和 $b_i$ 。 $$ \underbrace{a_1, a_2, \ldots, a_s}_{b_1}, \underbrace{a_{s+1}, \ldots, a_{2s}}_{b_2}, \dots, \underbrace{a_{(s-1) \times s+1}, \dots, a_n}_{b_{\frac{n}{s}}} $$ Loading Loading
docs/ds/decompose.md +4 −3 Original line number Diff line number Diff line Loading @@ -29,6 +29,7 @@ author: Ir1d, HeRaNO, Xeonacid $1 \leq n \leq 5 \times 10^4$ 我们将序列按每 $s$ 个元素一块进行分块,并记录每块的区间和 $b_i$ 。 $$ \underbrace{a_1, a_2, \ldots, a_s}_{b_1}, \underbrace{a_{s+1}, \ldots, a_{2s}}_{b_2}, \dots, \underbrace{a_{(s-1) \times s+1}, \dots, a_n}_{b_{\frac{n}{s}}} $$ Loading