Skip to content

Commit

Permalink
Update 0091. 解码方法.md
Browse files Browse the repository at this point in the history
  • Loading branch information
itcharge committed May 14, 2024
1 parent 395dd7d commit 00e1613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Solutions/0091. 解码方法.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ $dp[i]$ 的来源有两种情况:

状态转移方程可以写为:

$dp[i] += \begin{cases} \begin{array} \ dp[i-1] & s[i] \ne 0 \cr dp[i-2] & s[i-1] \ne 0,s[i-1:i] \le 26 \end{array} \end{cases}$
$dp[i] += \begin{cases} dp[i-1] & \quad s[i] \ne 0 \cr dp[i-2] & \quad s[i-1] \ne 0,s[i-1:i] \le 26 \end{cases}$

###### 4. 初始条件

Expand Down

0 comments on commit 00e1613

Please sign in to comment.