mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-10-22 05:26:46 +08:00
update
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"translatedContent": "<p>我们定义,在以下情况时,单词的大写用法是正确的:</p>\n\n<ul>\n\t<li>全部字母都是大写,比如 <code>\"USA\"</code> 。</li>\n\t<li>单词中所有字母都不是大写,比如 <code>\"leetcode\"</code> 。</li>\n\t<li>如果单词不只含有一个字母,只有首字母大写, 比如 <code>\"Google\"</code> 。</li>\n</ul>\n\n<p>给你一个字符串 <code>word</code> 。如果大写用法正确,返回 <code>true</code> ;否则,返回 <code>false</code> 。</p>\n\n<p> </p>\n\n<p><strong>示例 1:</strong></p>\n\n<pre>\n<strong>输入:</strong>word = \"USA\"\n<strong>输出:</strong>true\n</pre>\n\n<p><strong>示例 2:</strong></p>\n\n<pre>\n<strong>输入:</strong>word = \"FlaG\"\n<strong>输出:</strong>false\n</pre>\n\n<p> </p>\n\n<p><strong>提示:</strong></p>\n\n<ul>\n\t<li><code>1 <= word.length <= 100</code></li>\n\t<li><code>word</code> 由小写和大写英文字母组成</li>\n</ul>\n",
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Easy",
|
||||
"likes": 200,
|
||||
"likes": 202,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
@@ -137,7 +137,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"72.1K\", \"totalSubmission\": \"125.5K\", \"totalAcceptedRaw\": 72084, \"totalSubmissionRaw\": 125505, \"acRate\": \"57.4%\"}",
|
||||
"stats": "{\"totalAccepted\": \"73.2K\", \"totalSubmission\": \"127.5K\", \"totalAcceptedRaw\": 73243, \"totalSubmissionRaw\": 127525, \"acRate\": \"57.4%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
Reference in New Issue
Block a user