mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 07:21:40 +08:00
存量题库数据更新
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
<p>Return <em>a list of <strong>all</strong> days <strong>(0-indexed) </strong>that are good days to rob the bank</em>.<em> The order that the days are returned in does<strong> </strong><strong>not</strong> matter.</em></p>
|
||||
|
||||
<p> </p>
|
||||
<p><strong>Example 1:</strong></p>
|
||||
<p><strong class="example">Example 1:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> security = [5,3,3,3,5,6,2], time = 2
|
||||
@@ -24,7 +24,7 @@ On day 3, we have security[1] >= security[2] >= security[3] <= security
|
||||
No other days satisfy this condition, so days 2 and 3 are the only good days to rob the bank.
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 2:</strong></p>
|
||||
<p><strong class="example">Example 2:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> security = [1,1,1,1,1], time = 0
|
||||
@@ -33,7 +33,7 @@ No other days satisfy this condition, so days 2 and 3 are the only good days to
|
||||
Since time equals 0, every day is a good day to rob the bank, so return every day.
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 3:</strong></p>
|
||||
<p><strong class="example">Example 3:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> security = [1,2,3,4,5,6], time = 2
|
||||
|
Reference in New Issue
Block a user