1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-13 11:21:42 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

存量题库数据更新

This commit is contained in:
2023-12-09 18:42:21 +08:00
parent a788808cd7
commit c198538f10
10843 changed files with 288489 additions and 248355 deletions

View File

@@ -1,4 +1,4 @@
<p>你的国家有无数个湖泊,所有湖泊一开始都是空的。当第 <code>n</code>&nbsp;个湖泊下雨的时候,那么它就会装满水。如果第 <code>n</code>&nbsp;个湖泊是 <strong>满的&nbsp;</strong>,这个湖泊会发生 <strong>洪水</strong> 。你的目标是避免任意一个湖泊发生洪水。</p>
<p>你的国家有无数个湖泊,所有湖泊一开始都是空的。当第 <code>n</code>&nbsp;个湖泊下雨前是空的,那么它就会装满水。如果第 <code>n</code>&nbsp;个湖泊下雨前<strong>满的&nbsp;</strong>,这个湖泊会发生 <strong>洪水</strong> 。你的目标是避免任意一个湖泊发生洪水。</p>
<p>给你一个整数数组&nbsp;<code>rains</code>&nbsp;,其中:</p>
@@ -17,7 +17,7 @@
<p>如果有多种可行解,请返回它们中的 <strong>任意一个</strong>&nbsp;。如果没办法阻止洪水,请返回一个 <strong>空的数组</strong>&nbsp;</p>
<p>请注意,如果你选择抽干一个装满水的湖泊,它会变成一个空的湖泊。但如果你选择抽干一个空的湖泊,那么将无事发生(详情请看示例 4</p>
<p>请注意,如果你选择抽干一个装满水的湖泊,它会变成一个空的湖泊。但如果你选择抽干一个空的湖泊,那么将无事发生。</p>
<p>&nbsp;</p>