1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-04 23:11:41 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-03-29 16:56:27 +08:00
parent e730aa6794
commit ad15da05aa
2517 changed files with 7358 additions and 7332 deletions

View File

@@ -12,7 +12,7 @@
"translatedContent": "<p>一只青蛙一次可以跳上1级台阶也可以跳上2级台阶。求该青蛙跳上一个 <code>n</code>&nbsp;级的台阶总共有多少种跳法。</p>\n\n<p>答案需要取模 1e9+71000000007如计算初始结果为1000000008请返回 1。</p>\n\n<p><strong>示例 1</strong></p>\n\n<pre><strong>输入:</strong>n = 2\n<strong>输出:</strong>2\n</pre>\n\n<p><strong>示例 2</strong></p>\n\n<pre><strong>输入:</strong>n = 7\n<strong>输出:</strong>21\n</pre>\n\n<p><strong>示例 3</strong></p>\n\n<pre><strong>输入:</strong>n = 0\n<strong>输出:</strong>1</pre>\n\n<p><strong>提示:</strong></p>\n\n<ul>\n\t<li><code>0 &lt;= n &lt;= 100</code></li>\n</ul>\n\n<p>注意:本题与主站 70 题相同:<a href=\"https://leetcode-cn.com/problems/climbing-stairs/\">https://leetcode-cn.com/problems/climbing-stairs/</a></p>\n\n<p>&nbsp;</p>\n",
"isPaidOnly": false,
"difficulty": "Easy",
"likes": 263,
"likes": 264,
"dislikes": 0,
"isLiked": null,
"similarQuestions": "[]",
@@ -149,7 +149,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"259.3K\", \"totalSubmission\": \"572.6K\", \"totalAcceptedRaw\": 259315, \"totalSubmissionRaw\": 572619, \"acRate\": \"45.3%\"}",
"stats": "{\"totalAccepted\": \"260.3K\", \"totalSubmission\": \"574.7K\", \"totalAcceptedRaw\": 260335, \"totalSubmissionRaw\": 574739, \"acRate\": \"45.3%\"}",
"hints": [],
"solution": null,
"status": null,