mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-12 10:51:42 +08:00
批量更新数据
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<p>Alice 在给 Bob 用手机打字。数字到字母的 <strong>对应</strong> 如下图所示。</p>
|
||||
|
||||
<p><img alt="" src="https://assets.leetcode.com/uploads/2022/03/15/1200px-telephone-keypad2svg.png" style="width: 200px; height: 162px;"></p>
|
||||
<p><img alt="" src="https://pic.leetcode.cn/1722224025-gsUAIv-image.png" style="width: 200px; height: 162px;" /></p>
|
||||
|
||||
<p>为了 <strong>打出</strong> 一个字母,Alice 需要 <strong>按</strong> 对应字母 <code>i</code> 次,<code>i</code> 是该字母在这个按键上所处的位置。</p>
|
||||
|
||||
@@ -23,7 +23,8 @@
|
||||
|
||||
<p><strong>示例 1:</strong></p>
|
||||
|
||||
<pre><b>输入:</b>pressedKeys = "22233"
|
||||
<pre>
|
||||
<b>输入:</b>pressedKeys = "22233"
|
||||
<b>输出:</b>8
|
||||
<strong>解释:</strong>
|
||||
Alice 可能发出的文字信息包括:
|
||||
@@ -33,7 +34,8 @@ Alice 可能发出的文字信息包括:
|
||||
|
||||
<p><strong>示例 2:</strong></p>
|
||||
|
||||
<pre><b>输入:</b>pressedKeys = "222222222222222222222222222222222222"
|
||||
<pre>
|
||||
<b>输入:</b>pressedKeys = "222222222222222222222222222222222222"
|
||||
<b>输出:</b>82876089
|
||||
<strong>解释:</strong>
|
||||
总共有 2082876103 种 Alice 可能发出的文字信息。
|
||||
|
Reference in New Issue
Block a user