1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-10-25 23:08:57 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-05-02 23:44:12 +08:00
parent 7ea03594b3
commit 2a71c78585
4790 changed files with 11696 additions and 10944 deletions

View File

@@ -12,7 +12,7 @@
"translatedContent": "<p>整数转换。编写一个函数确定需要改变几个位才能将整数A转成整数B。</p>\n\n<p> <strong>示例1:</strong></p>\n\n<pre>\n<strong> 输入</strong>A = 29 或者0b11101, B = 15或者0b01111\n<strong> 输出</strong>2\n</pre>\n\n<p> <strong>示例2:</strong></p>\n\n<pre>\n<strong> 输入</strong>A = 1B = 2\n<strong> 输出</strong>2\n</pre>\n\n<p> <strong>提示:</strong></p>\n\n<ol>\n<li>AB范围在[-2147483648, 2147483647]之间</li>\n</ol>\n",
"isPaidOnly": false,
"difficulty": "Easy",
"likes": 39,
"likes": 41,
"dislikes": 0,
"isLiked": null,
"similarQuestions": "[]",
@@ -137,7 +137,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"14.7K\", \"totalSubmission\": \"28.3K\", \"totalAcceptedRaw\": 14720, \"totalSubmissionRaw\": 28327, \"acRate\": \"52.0%\"}",
"stats": "{\"totalAccepted\": \"15.2K\", \"totalSubmission\": \"29.2K\", \"totalAcceptedRaw\": 15221, \"totalSubmissionRaw\": 29206, \"acRate\": \"52.1%\"}",
"hints": [
"你要怎样计算两个数字之间有多少位不同?",
"想想异或表示什么。如果你把a异或b那么结果中哪里是1哪里是0"