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>给你一个整数数组 <code>nums</code>,请你返回其中位数为 <strong>偶数</strong> 的数字的个数。</p>\n\n<p> </p>\n\n<p><strong>示例 1:</strong></p>\n\n<pre><strong>输入:</strong>nums = [12,345,2,6,7896]\n<strong>输出:</strong>2\n<strong>解释:\n</strong>12 是 2 位数字(位数为偶数) \n345 是 3 位数字(位数为奇数) \n2 是 1 位数字(位数为奇数) \n6 是 1 位数字 位数为奇数) \n7896 是 4 位数字(位数为偶数) \n因此只有 12 和 7896 是位数为偶数的数字\n</pre>\n\n<p><strong>示例 2:</strong></p>\n\n<pre><strong>输入:</strong>nums = [555,901,482,1771]\n<strong>输出:</strong>1 \n<strong>解释: </strong>\n只有 1771 是位数为偶数的数字。\n</pre>\n\n<p> </p>\n\n<p><strong>提示:</strong></p>\n\n<ul>\n\t<li><code>1 <= nums.length <= 500</code></li>\n\t<li><code>1 <= nums[i] <= 10^5</code></li>\n</ul>\n",
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Easy",
|
||||
"likes": 69,
|
||||
"likes": 70,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
@@ -137,7 +137,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"51.2K\", \"totalSubmission\": \"63.4K\", \"totalAcceptedRaw\": 51162, \"totalSubmissionRaw\": 63412, \"acRate\": \"80.7%\"}",
|
||||
"stats": "{\"totalAccepted\": \"51.7K\", \"totalSubmission\": \"64.2K\", \"totalAcceptedRaw\": 51741, \"totalSubmissionRaw\": 64173, \"acRate\": \"80.6%\"}",
|
||||
"hints": [
|
||||
"How to compute the number of digits of a number ?",
|
||||
"Divide the number by 10 again and again to get the number of digits."
|
||||
|
Reference in New Issue
Block a user