mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-10-25 23:08:57 +08:00
update
This commit is contained in:
@@ -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 = 1,B = 2\n<strong> 输出</strong>:2\n</pre>\n\n<p> <strong>提示:</strong></p>\n\n<ol>\n<li>A,B范围在[-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?"
|
||||
|
||||
Reference in New Issue
Block a user