From 5e938c1500d18acabe82f8cbfedd0aa0f3cfd500 Mon Sep 17 00:00:00 2001 From: thinkasany <480968828@qq.com> Date: Thu, 3 Aug 2023 01:14:00 +0800 Subject: [PATCH] chore: update lc problem: No.2790 --- .../README.md | 6 +++--- .../README_EN.md | 6 +++--- solution/config.py | 1 + 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/solution/2700-2799/2790.Maximum Number of Groups With Increasing Length/README.md b/solution/2700-2799/2790.Maximum Number of Groups With Increasing Length/README.md index 8d662b4e67b40..cac08444b157c 100644 --- a/solution/2700-2799/2790.Maximum Number of Groups With Increasing Length/README.md +++ b/solution/2700-2799/2790.Maximum Number of Groups With Increasing Length/README.md @@ -22,7 +22,7 @@

示例 1:

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

示例 2:

-输入:usageLimits = [2,1,2]
+输入:usageLimits = [2,1,2]
 输出:2
 解释:在这个示例中,我们可以使用 0 至多 2 次,使用 1 至多 1 次,使用 2 至多 2 次。
 一种既能满足所有条件,又能创建最多组的方式是: 
@@ -48,7 +48,7 @@
 

示例 3:

-输入:usageLimits = [1,1]
+输入:usageLimits = [1,1]
 输出:1
 解释:在这个示例中,我们可以使用 0 和 1 至多 1 次。 
 一种既能满足所有条件,又能创建最多组的方式是:
diff --git a/solution/2700-2799/2790.Maximum Number of Groups With Increasing Length/README_EN.md b/solution/2700-2799/2790.Maximum Number of Groups With Increasing Length/README_EN.md
index c1f0cd451a915..a19ff04239cca 100644
--- a/solution/2700-2799/2790.Maximum Number of Groups With Increasing Length/README_EN.md	
+++ b/solution/2700-2799/2790.Maximum Number of Groups With Increasing Length/README_EN.md	
@@ -19,7 +19,7 @@
 

Example 1:

-Input: usageLimits = [1,2,5]
+Input: usageLimits = [1,2,5]
 Output: 3
 Explanation: In this example, we can use 0 at most once, 1 at most twice, and 2 at most five times.
 One way of creating the maximum number of groups while satisfying the conditions is: 
@@ -32,7 +32,7 @@ So, the output is 3. 

Example 2:

-Input: usageLimits = [2,1,2]
+Input: usageLimits = [2,1,2]
 Output: 2
 Explanation: In this example, we can use 0 at most twice, 1 at most once, and 2 at most twice.
 One way of creating the maximum number of groups while satisfying the conditions is:
@@ -45,7 +45,7 @@ So, the output is 2.
 

Example 3:

-Input: usageLimits = [1,1]
+Input: usageLimits = [1,1]
 Output: 1
 Explanation: In this example, we can use both 0 and 1 at most once.
 One way of creating the maximum number of groups while satisfying the conditions is:
diff --git a/solution/config.py b/solution/config.py
index 7c53413bf872a..1affe037f20b9 100644
--- a/solution/config.py
+++ b/solution/config.py
@@ -74,5 +74,6 @@
     2606,
     2643,
     2682,
+    2790,
     2800,
 ]