[go: nahoru, domu]

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 20, 2024
1 parent d28abba commit ff355e7
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} dp[i-1] & \quad s[i] \ne 0 \cr dp[i-2] & \quad s[i-1] \ne 0s[i-1:i] \le 26 \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 ff355e7

Please sign in to comment.