mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-08 17:01:42 +08:00
update
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"translatedContent": "小扣在秋日市集购买了一个古董键盘。由于古董键盘年久失修,键盘上只有 26 个字母 **a~z** 可以按下,且每个字母最多仅能被按 `k` 次。\n\n小扣随机按了 `n` 次按键,请返回小扣总共有可能按出多少种内容。由于数字较大,最终答案需要对 1000000007 (1e9 + 7) 取模。\n\n\n**示例 1:**\n>输入:`k = 1, n = 1`\n> \n>输出:`26`\n> \n>解释:由于只能按一次按键,所有可能的字符串为 \"a\", \"b\", ... \"z\" \n\n**示例 2:**\n>输入:`k = 1, n = 2`\n> \n>输出:`650`\n> \n>解释:由于只能按两次按键,且每个键最多只能按一次,所有可能的字符串(按字典序排序)为 \"ab\", \"ac\", ... \"zy\" \n\n**提示:**\n- `1 <= k <= 5`\n- `1 <= n <= 26*k`\n \n\n",
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Hard",
|
||||
"likes": 28,
|
||||
"likes": 29,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
@@ -156,7 +156,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"1.4K\", \"totalSubmission\": \"3.9K\", \"totalAcceptedRaw\": 1377, \"totalSubmissionRaw\": 3915, \"acRate\": \"35.2%\"}",
|
||||
"stats": "{\"totalAccepted\": \"1.5K\", \"totalSubmission\": \"4K\", \"totalAcceptedRaw\": 1452, \"totalSubmissionRaw\": 4035, \"acRate\": \"36.0%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
Reference in New Issue
Block a user