1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-06 07:51:41 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2023-12-09 19:57:46 +08:00
parent 9bc4722a45
commit 3770b44d1e
4792 changed files with 10889 additions and 10886 deletions

View File

@@ -12,7 +12,7 @@
"translatedContent": "<p>实现&nbsp;<a href=\"https://www.cplusplus.com/reference/valarray/pow/\" target=\"_blank\">pow(<em>x</em>, <em>n</em>)</a>&nbsp;,即计算 <code>x</code> 的整数&nbsp;<code>n</code> 次幂函数(即,<code>x<sup>n</sup></code><sup><span style=\"font-size:10.8333px\"> </span></sup>)。</p>\n\n<p>&nbsp;</p>\n\n<p><strong class=\"example\">示例 1</strong></p>\n\n<pre>\n<strong>输入:</strong>x = 2.00000, n = 10\n<strong>输出:</strong>1024.00000\n</pre>\n\n<p><strong class=\"example\">示例 2</strong></p>\n\n<pre>\n<strong>输入:</strong>x = 2.10000, n = 3\n<strong>输出:</strong>9.26100\n</pre>\n\n<p><strong class=\"example\">示例 3</strong></p>\n\n<pre>\n<strong>输入:</strong>x = 2.00000, n = -2\n<strong>输出:</strong>0.25000\n<strong>解释:</strong>2<sup>-2</sup> = 1/2<sup>2</sup> = 1/4 = 0.25\n</pre>\n\n<p>&nbsp;</p>\n\n<p><strong>提示:</strong></p>\n\n<ul>\n\t<li><code>-100.0 &lt; x &lt; 100.0</code></li>\n\t<li><code>-2<sup>31</sup> &lt;= n &lt;= 2<sup>31</sup>-1</code></li>\n\t<li><code>n</code>&nbsp;是一个整数</li>\n\t<li>要么 <code>x</code> 不为零,要么 <code>n &gt; 0</code> 。</li>\n\t<li><code>-10<sup>4</sup> &lt;= x<sup>n</sup> &lt;= 10<sup>4</sup></code></li>\n</ul>\n",
"isPaidOnly": false,
"difficulty": "Medium",
"likes": 1283,
"likes": 1284,
"dislikes": 0,
"isLiked": null,
"similarQuestions": "[{\"title\": \"Sqrt(x)\", \"titleSlug\": \"sqrtx\", \"difficulty\": \"Easy\", \"translatedTitle\": \"x \\u7684\\u5e73\\u65b9\\u6839 \", \"isPaidOnly\": false}, {\"title\": \"Super Pow\", \"titleSlug\": \"super-pow\", \"difficulty\": \"Medium\", \"translatedTitle\": \"\\u8d85\\u7ea7\\u6b21\\u65b9\", \"isPaidOnly\": false}]",
@@ -149,7 +149,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"413.1K\", \"totalSubmission\": \"1.1M\", \"totalAcceptedRaw\": 413143, \"totalSubmissionRaw\": 1085364, \"acRate\": \"38.1%\"}",
"stats": "{\"totalAccepted\": \"413.2K\", \"totalSubmission\": \"1.1M\", \"totalAcceptedRaw\": 413199, \"totalSubmissionRaw\": 1085487, \"acRate\": \"38.1%\"}",
"hints": [],
"solution": null,
"status": null,