mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-12-17 17:52:34 +08:00
update
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"translatedContent": "<p>小A 和 小B 在玩猜数字。小B 每次从 1, 2, 3 中随机选择一个,小A 每次也从 1, 2, 3 中选择一个猜。他们一共进行三次这个游戏,请返回 小A 猜对了几次?</p>\n\n<p>输入的<code>guess</code>数组为 小A 每次的猜测,<code>answer</code>数组为 小B 每次的选择。<code>guess</code>和<code>answer</code>的长度都等于3。</p>\n\n<p> </p>\n\n<p><strong>示例 1:</strong></p>\n\n<pre>\n<strong>输入:</strong>guess = [1,2,3], answer = [1,2,3]\n<strong>输出:</strong>3\n<strong>解释:</strong>小A 每次都猜对了。</pre>\n\n<p><strong>示例 2:</strong></p>\n\n<pre>\n<strong>输入:</strong>guess = [2,2,3], answer = [3,2,1]\n<strong>输出:</strong>1\n<strong>解释:</strong>小A 只猜对了第二次。</pre>\n\n<p> </p>\n\n<p><strong>限制:</strong></p>\n\n<ol>\n\t<li><code>guess</code> 的长度 = 3</li>\n\t<li><code>answer</code> 的长度 = 3</li>\n\t<li><code>guess</code> 的元素取值为 <code>{1, 2, 3}</code> 之一。</li>\n\t<li><code>answer</code> 的元素取值为 <code>{1, 2, 3}</code> 之一。</li>\n</ol>\n",
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Easy",
|
||||
"likes": 138,
|
||||
"likes": 140,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
@@ -102,7 +102,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"86.6K\", \"totalSubmission\": \"102.4K\", \"totalAcceptedRaw\": 86582, \"totalSubmissionRaw\": 102443, \"acRate\": \"84.5%\"}",
|
||||
"stats": "{\"totalAccepted\": \"87.9K\", \"totalSubmission\": \"104K\", \"totalAcceptedRaw\": 87865, \"totalSubmissionRaw\": 103962, \"acRate\": \"84.5%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
||||
Reference in New Issue
Block a user