Skip to content

Commit 6276d6d

Browse files
committed
fix: update
1 parent d0f770d commit 6276d6d

File tree

1 file changed

+1
-1
lines changed
  • solution/3000-3099/3082.Find the Sum of the Power of All Subsequences

1 file changed

+1
-1
lines changed

solution/3000-3099/3082.Find the Sum of the Power of All Subsequences/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ tags:
9999

100100
### 方法一:动态规划
101101

102-
题目需要我们在给定数组 $\textit{nums}$ 中找到所有子序列 $\textit{S}$,然后计算每个 $\textit{S}$ 的每个子序列 $\textit{T}$$ 的和等于 $\textit{k}$ 的方案数。
102+
题目需要我们在给定数组 $\textit{nums}$ 中找到所有子序列 $\textit{S}$,然后计算每个 $\textit{S}$ 的每个子序列 $\textit{T}$ 的和等于 $\textit{k}$ 的方案数。
103103

104104
我们定义 $f[i][j]$ 表示前 $i$ 个数构成的若干个子序列中,每个子序列的子序列和等于 $j$ 的方案数。初始时 $f[0][0] = 1$,其余位置均为 $0$。
105105

0 commit comments

Comments
 (0)