We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00e1613 commit 2879d5fCopy full SHA for 2879d5f
Solutions/0526. 优美的排列.md
@@ -173,7 +173,7 @@ class Solution:
173
174
###### 3. 状态转移方程
175
176
-对于状态 $state$,先统计出 $state$ 中选择的数字个数(即统计二进制中 $1$ 的个数)$one_num$。
+对于状态 $state$,先统计出 $state$ 中选择的数字个数(即统计二进制中 $1$ 的个数)$one\underline{\hspace{0.5em}}num$。
177
178
则 $dp[state]$ 表示选择了前 $one\underline{\hspace{0.5em}}num$ 个数字,且选择情况为 $state$ 时的方案数。
179
0 commit comments