mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-06 16:01:41 +08:00
存量题库数据更新
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<p>Return<em> the minimum number of rotations you need to perform to maximize your profit.</em> If there is <strong>no scenario</strong> where the profit is positive, return <code>-1</code>.</p>
|
||||
|
||||
<p> </p>
|
||||
<p><strong>Example 1:</strong></p>
|
||||
<p><strong class="example">Example 1:</strong></p>
|
||||
<img alt="" src="https://assets.leetcode.com/uploads/2020/09/09/wheeldiagram12.png" style="width: 700px; height: 225px;" />
|
||||
<pre>
|
||||
<strong>Input:</strong> customers = [8,3], boardingCost = 5, runningCost = 6
|
||||
@@ -19,7 +19,7 @@
|
||||
The highest profit was $37 after rotating the wheel 3 times.
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 2:</strong></p>
|
||||
<p><strong class="example">Example 2:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> customers = [10,9,6], boardingCost = 6, runningCost = 4
|
||||
@@ -35,7 +35,7 @@ The highest profit was $37 after rotating the wheel 3 times.
|
||||
The highest profit was $122 after rotating the wheel 7 times.
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 3:</strong></p>
|
||||
<p><strong class="example">Example 3:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> customers = [3,4,0,5,1], boardingCost = 1, runningCost = 92
|
||||
|
Reference in New Issue
Block a user