Skip to content

Commit 0a3db80

Browse files
authored
chore: update lc problem: No.2790 (doocs#1377)
1 parent 2c24640 commit 0a3db80

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

solution/2700-2799/2790.Maximum Number of Groups With Increasing Length/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<p><strong>示例 1:</strong></p>
2323

2424
<pre>
25-
<code><strong>输入:</strong>usageLimits</code> = [1,2,5]
25+
<strong>输入:</strong>usageLimits = [1,2,5]
2626
<strong>输出:</strong>3
2727
<strong>解释:</strong>在这个示例中,我们可以使用 0 至多一次,使用 1 至多 2 次,使用 2 至多 5 次。
2828
一种既能满足所有条件,又能创建最多组的方式是:
@@ -35,7 +35,7 @@
3535
<p><strong>示例 2:</strong></p>
3636

3737
<pre>
38-
<code><strong>输入:</strong></code><code>usageLimits</code> = [2,1,2]
38+
<strong>输入:</strong>usageLimits = [2,1,2]
3939
<strong>输出:</strong>2
4040
<strong>解释:</strong>在这个示例中,我们可以使用 0 至多 2 次,使用 1 至多 1 次,使用 2 至多 2 次。
4141
一种既能满足所有条件,又能创建最多组的方式是:
@@ -48,7 +48,7 @@
4848
<p><strong>示例 3:</strong></p>
4949

5050
<pre>
51-
<code><strong>输入:</strong></code><code>usageLimits</code> = [1,1]
51+
<strong>输入:</strong>usageLimits = [1,1]
5252
<strong>输出:</strong>1
5353
<strong>解释:</strong>在这个示例中,我们可以使用 0 和 1 至多 1 次。
5454
一种既能满足所有条件,又能创建最多组的方式是:

solution/2700-2799/2790.Maximum Number of Groups With Increasing Length/README_EN.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<p><strong class="example">Example 1:</strong></p>
2020

2121
<pre>
22-
<strong>Input:</strong> <code>usageLimits</code> = [1,2,5]
22+
<strong>Input:</strong> usageLimits = [1,2,5]
2323
<strong>Output:</strong> 3
2424
<strong>Explanation:</strong> In this example, we can use 0 at most once, 1 at most twice, and 2 at most five times.
2525
One way of creating the maximum number of groups while satisfying the conditions is:
@@ -32,7 +32,7 @@ So, the output is 3. </pre>
3232
<p><strong class="example">Example 2:</strong></p>
3333

3434
<pre>
35-
<strong>Input:</strong> <code>usageLimits</code> = [2,1,2]
35+
<strong>Input:</strong> usageLimits = [2,1,2]
3636
<strong>Output:</strong> 2
3737
<strong>Explanation:</strong> In this example, we can use 0 at most twice, 1 at most once, and 2 at most twice.
3838
One way of creating the maximum number of groups while satisfying the conditions is:
@@ -45,7 +45,7 @@ So, the output is 2.
4545
<p><strong class="example">Example 3:</strong></p>
4646

4747
<pre>
48-
<strong>Input:</strong> <code>usageLimits</code> = [1,1]
48+
<strong>Input:</strong> usageLimits = [1,1]
4949
<strong>Output:</strong> 1
5050
<strong>Explanation:</strong> In this example, we can use both 0 and 1 at most once.
5151
One way of creating the maximum number of groups while satisfying the conditions is:

solution/config.py

+1
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,6 @@
7474
2606,
7575
2643,
7676
2682,
77+
2790,
7778
2800,
7879
]

0 commit comments

Comments
 (0)