Skip to content

chore: update lc problem: No.2790 #1377

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<p><strong>示例 1:</strong></p>

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

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

<pre>
<code><strong>输入:</strong></code><code>usageLimits</code> = [1,1]
<strong>输入:</strong>usageLimits = [1,1]
<strong>输出:</strong>1
<strong>解释:</strong>在这个示例中,我们可以使用 0 和 1 至多 1 次。
一种既能满足所有条件,又能创建最多组的方式是:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<p><strong class="example">Example 1:</strong></p>

<pre>
<strong>Input:</strong> <code>usageLimits</code> = [1,2,5]
<strong>Input:</strong> usageLimits = [1,2,5]
<strong>Output:</strong> 3
<strong>Explanation:</strong> 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:
Expand All @@ -32,7 +32,7 @@ So, the output is 3. </pre>
<p><strong class="example">Example 2:</strong></p>

<pre>
<strong>Input:</strong> <code>usageLimits</code> = [2,1,2]
<strong>Input:</strong> usageLimits = [2,1,2]
<strong>Output:</strong> 2
<strong>Explanation:</strong> 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:
Expand All @@ -45,7 +45,7 @@ So, the output is 2.
<p><strong class="example">Example 3:</strong></p>

<pre>
<strong>Input:</strong> <code>usageLimits</code> = [1,1]
<strong>Input:</strong> usageLimits = [1,1]
<strong>Output:</strong> 1
<strong>Explanation:</strong> 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:
Expand Down
1 change: 1 addition & 0 deletions solution/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,6 @@
2606,
2643,
2682,
2790,
2800,
]