mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-02 22:13:28 +08:00
update
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"translatedContent": "<p>设计一个函数把两个数字相加。不得使用 + 或者其他算术运算符。</p>\n\n<p><strong>示例:</strong></p>\n\n<pre><strong>输入:</strong> a = 1, b = 1\n<strong>输出:</strong> 2</pre>\n\n<p> </p>\n\n<p><strong>提示:</strong></p>\n\n<ul>\n\t<li><code>a</code>, <code>b</code> 均可能是负数或 0</li>\n\t<li>结果不会溢出 32 位整数</li>\n</ul>\n",
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Easy",
|
||||
"likes": 71,
|
||||
"likes": 72,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
@@ -143,7 +143,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"15.5K\", \"totalSubmission\": \"25.7K\", \"totalAcceptedRaw\": 15468, \"totalSubmissionRaw\": 25706, \"acRate\": \"60.2%\"}",
|
||||
"stats": "{\"totalAccepted\": \"15.6K\", \"totalSubmission\": \"25.9K\", \"totalAcceptedRaw\": 15608, \"totalSubmissionRaw\": 25897, \"acRate\": \"60.3%\"}",
|
||||
"hints": [
|
||||
"手动(慢慢地)完成二进制加法,尝试真正理解发生了什么。",
|
||||
"你可以把二进制加法看成是对数字的每一位进行迭代、两位进行加和,并在必要时进位。你也可以对操作进行分组。如果首先对每位相加(不进位)会怎样?之后,你可以再处理进位。",
|
||||
|
Reference in New Issue
Block a user