mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-10-12 17:05:15 +08:00
update
This commit is contained in:
@@ -10,7 +10,8 @@
|
||||
|
||||
<p><strong>示例 1:</strong></p>
|
||||
|
||||
<pre><strong>输入:</strong>nums = [2,4,6], k = 2
|
||||
<pre>
|
||||
<strong>输入:</strong>nums = [2,4,6], k = 2
|
||||
<strong>输出:</strong>4
|
||||
<strong>解释:</strong>数组 nums 中的美丽子集有:[2], [4], [6], [2, 6] 。
|
||||
可以证明数组 [2,4,6] 中只存在 4 个美丽子集。
|
||||
@@ -18,7 +19,8 @@
|
||||
|
||||
<p><strong>示例 2:</strong></p>
|
||||
|
||||
<pre><strong>输入:</strong>nums = [1], k = 1
|
||||
<pre>
|
||||
<strong>输入:</strong>nums = [1], k = 1
|
||||
<strong>输出:</strong>1
|
||||
<strong>解释:</strong>数组 nums 中的美丽数组有:[1] 。
|
||||
可以证明数组 [1] 中只存在 1 个美丽子集。
|
||||
@@ -29,6 +31,6 @@
|
||||
<p><strong>提示:</strong></p>
|
||||
|
||||
<ul>
|
||||
<li><code>1 <= nums.length <= 20</code></li>
|
||||
<li><code>1 <= nums.length <= 18</code></li>
|
||||
<li><code>1 <= nums[i], k <= 1000</code></li>
|
||||
</ul>
|
||||
|
Reference in New Issue
Block a user