mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-10-22 13:36:46 +08:00
update
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"translatedContent": "<p>给你一个 32 位的有符号整数 <code>x</code> ,返回将 <code>x</code> 中的数字部分反转后的结果。</p>\n\n<p>如果反转后整数超过 32 位的有符号整数的范围 <code>[−2<sup>31</sup>, 2<sup>31 </sup>− 1]</code> ,就返回 0。</p>\n<strong>假设环境不允许存储 64 位整数(有符号或无符号)。</strong>\n\n<p> </p>\n\n<p><strong>示例 1:</strong></p>\n\n<pre>\n<strong>输入:</strong>x = 123\n<strong>输出:</strong>321\n</pre>\n\n<p><strong>示例 2:</strong></p>\n\n<pre>\n<strong>输入:</strong>x = -123\n<strong>输出:</strong>-321\n</pre>\n\n<p><strong>示例 3:</strong></p>\n\n<pre>\n<strong>输入:</strong>x = 120\n<strong>输出:</strong>21\n</pre>\n\n<p><strong>示例 4:</strong></p>\n\n<pre>\n<strong>输入:</strong>x = 0\n<strong>输出:</strong>0\n</pre>\n\n<p> </p>\n\n<p><strong>提示:</strong></p>\n\n<ul>\n\t<li><code>-2<sup>31</sup> <= x <= 2<sup>31</sup> - 1</code></li>\n</ul>\n",
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Medium",
|
||||
"likes": 3452,
|
||||
"likes": 3494,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[{\"title\": \"String to Integer (atoi)\", \"titleSlug\": \"string-to-integer-atoi\", \"difficulty\": \"Medium\", \"translatedTitle\": \"\\u5b57\\u7b26\\u4e32\\u8f6c\\u6362\\u6574\\u6570 (atoi)\"}, {\"title\": \"Reverse Bits\", \"titleSlug\": \"reverse-bits\", \"difficulty\": \"Easy\", \"translatedTitle\": \"\\u98a0\\u5012\\u4e8c\\u8fdb\\u5236\\u4f4d\"}]",
|
||||
@@ -137,7 +137,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"978.9K\", \"totalSubmission\": \"2.8M\", \"totalAcceptedRaw\": 978932, \"totalSubmissionRaw\": 2781146, \"acRate\": \"35.2%\"}",
|
||||
"stats": "{\"totalAccepted\": \"1M\", \"totalSubmission\": \"2.8M\", \"totalAcceptedRaw\": 1000317, \"totalSubmissionRaw\": 2838748, \"acRate\": \"35.2%\"}",
|
||||
"hints": [],
|
||||
"solution": {
|
||||
"id": "40",
|
||||
|
Reference in New Issue
Block a user