mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-10-24 22:38:57 +08:00
update
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"translatedContent": "<p>二进制数转字符串。给定一个介于0和1之间的实数(如0.72),类型为double,打印它的二进制表达式。如果该数字无法精确地用32位以内的二进制表示,则打印“ERROR”。</p>\n\n<p><strong>示例1:</strong></p>\n\n<pre>\n<strong> 输入</strong>:0.625\n<strong> 输出</strong>:\"0.101\"\n</pre>\n\n<p><strong>示例2:</strong></p>\n\n<pre>\n<strong> 输入</strong>:0.1\n<strong> 输出</strong>:\"ERROR\"\n<strong> 提示</strong>:0.1无法被二进制准确表示\n</pre>\n\n<p> </p>\n\n<p><strong>提示:</strong></p>\n\n<ul>\n\t<li>32位包括输出中的 <code>\"0.\"</code> 这两位。</li>\n\t<li>题目保证输入用例的小数位数最多只有 <code>6</code> 位</li>\n</ul>\n",
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Medium",
|
||||
"likes": 34,
|
||||
"likes": 36,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
@@ -149,7 +149,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"9.5K\", \"totalSubmission\": \"13.5K\", \"totalAcceptedRaw\": 9532, \"totalSubmissionRaw\": 13549, \"acRate\": \"70.4%\"}",
|
||||
"stats": "{\"totalAccepted\": \"9.9K\", \"totalSubmission\": \"14.1K\", \"totalAcceptedRaw\": 9929, \"totalSubmissionRaw\": 14055, \"acRate\": \"70.6%\"}",
|
||||
"hints": [
|
||||
"为了解决这个问题,试着想想如何用它来处理整数。",
|
||||
"像0.893这样的数字(以10为底),每个数字代表什么?那么以2为底的0.10 010中的每个数字代表什么?",
|
||||
|
||||
Reference in New Issue
Block a user