1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-02 22:13:28 +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>给你一个整数数组&nbsp;<code>nums</code>,请你返回其中位数为&nbsp;<strong>偶数</strong>&nbsp;的数字的个数。</p>\n\n<p>&nbsp;</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 位数字(位数为偶数)&nbsp;\n345 是 3 位数字(位数为奇数)&nbsp;&nbsp;\n2 是 1 位数字(位数为奇数)&nbsp;\n6 是 1 位数字 位数为奇数)&nbsp;\n7896 是 4 位数字(位数为偶数)&nbsp;&nbsp;\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>&nbsp;</p>\n\n<p><strong>提示:</strong></p>\n\n<ul>\n\t<li><code>1 &lt;= nums.length &lt;= 500</code></li>\n\t<li><code>1 &lt;= nums[i] &lt;= 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."