mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-10-23 05:48:57 +08:00
update
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"translatedContent": "<p>你正在使用一堆木板建造跳水板。有两种类型的木板,其中长度较短的木板长度为<code>shorter</code>,长度较长的木板长度为<code>longer</code>。你必须正好使用<code>k</code>块木板。编写一个方法,生成跳水板所有可能的长度。</p>\n\n<p>返回的长度需要从小到大排列。</p>\n\n<p><strong>示例 1</strong></p>\n\n<pre><code><strong>输入:</strong>\nshorter = 1\nlonger = 2\nk = 3\n<strong>输出:</strong> [3,4,5,6]\n<strong>解释:</strong>\n可以使用 3 次 shorter,得到结果 3;使用 2 次 shorter 和 1 次 longer,得到结果 4 。以此类推,得到最终结果。</code></pre>\n\n<p><strong>提示:</strong></p>\n\n<ul>\n\t<li>0 < shorter <= longer</li>\n\t<li>0 <= k <= 100000</li>\n</ul>\n",
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Easy",
|
||||
"likes": 96,
|
||||
"likes": 99,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
@@ -143,7 +143,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"53.7K\", \"totalSubmission\": \"121.8K\", \"totalAcceptedRaw\": 53663, \"totalSubmissionRaw\": 121848, \"acRate\": \"44.0%\"}",
|
||||
"stats": "{\"totalAccepted\": \"54.3K\", \"totalSubmission\": \"123.2K\", \"totalAcceptedRaw\": 54280, \"totalSubmissionRaw\": 123211, \"acRate\": \"44.1%\"}",
|
||||
"hints": [
|
||||
"考虑制作一个跳水板。你的选择是什么?",
|
||||
"考虑递归解法。",
|
||||
|
Reference in New Issue
Block a user