mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-04 23:11:41 +08:00
update
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"translatedContent": "<p>整数的 <strong>数组形式</strong> <code>num</code> 是按照从左到右的顺序表示其数字的数组。</p>\n\n<ul>\n\t<li>例如,对于 <code>num = 1321</code> ,数组形式是 <code>[1,3,2,1]</code> 。</li>\n</ul>\n\n<p>给定 <code>num</code> ,整数的 <strong>数组形式</strong> ,和整数 <code>k</code> ,返回 <em>整数 <code>num + k</code> 的 <strong>数组形式</strong></em> 。</p>\n\n<p> </p>\n\n<ol>\n</ol>\n\n<p><strong>示例 1:</strong></p>\n\n<pre>\n<strong>输入:</strong>num = [1,2,0,0], k = 34\n<strong>输出:</strong>[1,2,3,4]\n<strong>解释:</strong>1200 + 34 = 1234\n</pre>\n\n<p><strong>示例 2:</strong></p>\n\n<pre>\n<strong>输入:</strong>num = [2,7,4], k = 181\n<strong>输出:</strong>[4,5,5]\n<strong>解释:</strong>274 + 181 = 455\n</pre>\n\n<p><strong>示例 3:</strong></p>\n\n<pre>\n<strong>输入:</strong>num = [2,1,5], k = 806\n<strong>输出:</strong>[1,0,2,1]\n<strong>解释:</strong>215 + 806 = 1021\n</pre>\n\n<p> </p>\n\n<p><strong>提示:</strong></p>\n\n<ul>\n\t<li><code>1 <= num.length <= 10<sup>4</sup></code></li>\n\t<li><code>0 <= num[i] <= 9</code></li>\n\t<li><code>num</code> 不包含任何前导零,除了零本身</li>\n\t<li><code>1 <= k <= 10<sup>4</sup></code></li>\n</ul>\n",
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Easy",
|
||||
"likes": 189,
|
||||
"likes": 190,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[{\"title\": \"Add Two Numbers\", \"titleSlug\": \"add-two-numbers\", \"difficulty\": \"Medium\", \"translatedTitle\": \"\\u4e24\\u6570\\u76f8\\u52a0\"}, {\"title\": \"Plus One\", \"titleSlug\": \"plus-one\", \"difficulty\": \"Easy\", \"translatedTitle\": \"\\u52a0\\u4e00\"}, {\"title\": \"Add Binary\", \"titleSlug\": \"add-binary\", \"difficulty\": \"Easy\", \"translatedTitle\": \"\\u4e8c\\u8fdb\\u5236\\u6c42\\u548c\"}, {\"title\": \"Add Strings\", \"titleSlug\": \"add-strings\", \"difficulty\": \"Easy\", \"translatedTitle\": \"\\u5b57\\u7b26\\u4e32\\u76f8\\u52a0\"}]",
|
||||
@@ -143,7 +143,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"58.1K\", \"totalSubmission\": \"123.9K\", \"totalAcceptedRaw\": 58060, \"totalSubmissionRaw\": 123856, \"acRate\": \"46.9%\"}",
|
||||
"stats": "{\"totalAccepted\": \"58.3K\", \"totalSubmission\": \"124.4K\", \"totalAcceptedRaw\": 58335, \"totalSubmissionRaw\": 124440, \"acRate\": \"46.9%\"}",
|
||||
"hints": [],
|
||||
"solution": {
|
||||
"id": "139",
|
||||
|
Reference in New Issue
Block a user