mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-06 07:51:41 +08:00
update
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"translatedContent": "<p>实现 <a href=\"https://www.cplusplus.com/reference/valarray/pow/\" target=\"_blank\">pow(<em>x</em>, <em>n</em>)</a> ,即计算 <code>x</code> 的整数 <code>n</code> 次幂函数(即,<code>x<sup>n</sup></code><sup><span style=\"font-size:10.8333px\"> </span></sup>)。</p>\n\n<p> </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> </p>\n\n<p><strong>提示:</strong></p>\n\n<ul>\n\t<li><code>-100.0 < x < 100.0</code></li>\n\t<li><code>-2<sup>31</sup> <= n <= 2<sup>31</sup>-1</code></li>\n\t<li><code>n</code> 是一个整数</li>\n\t<li>要么 <code>x</code> 不为零,要么 <code>n > 0</code> 。</li>\n\t<li><code>-10<sup>4</sup> <= x<sup>n</sup> <= 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,
|
||||
|
Reference in New Issue
Block a user