mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 15:31:43 +08:00
存量题库数据更新
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<p>The <strong>first</strong> robot wants to <strong>minimize</strong> the number of points collected by the <strong>second</strong> robot. In contrast, the <strong>second </strong>robot wants to <strong>maximize</strong> the number of points it collects. If both robots play <strong>optimally</strong>, return <em>the <b>number of points</b> collected by the <strong>second</strong> robot.</em></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/2021/09/08/a1.png" style="width: 388px; height: 103px;" />
|
||||
<pre>
|
||||
<strong>Input:</strong> grid = [[2,5,4],[1,5,1]]
|
||||
@@ -17,7 +17,7 @@ The cells visited by the first robot are set to 0.
|
||||
The second robot will collect 0 + 0 + 4 + 0 = 4 points.
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 2:</strong></p>
|
||||
<p><strong class="example">Example 2:</strong></p>
|
||||
<img alt="" src="https://assets.leetcode.com/uploads/2021/09/08/a2.png" style="width: 384px; height: 105px;" />
|
||||
<pre>
|
||||
<strong>Input:</strong> grid = [[3,3,1],[8,5,2]]
|
||||
@@ -27,7 +27,7 @@ The cells visited by the first robot are set to 0.
|
||||
The second robot will collect 0 + 3 + 1 + 0 = 4 points.
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 3:</strong></p>
|
||||
<p><strong class="example">Example 3:</strong></p>
|
||||
<img alt="" src="https://assets.leetcode.com/uploads/2021/09/08/a3.png" style="width: 493px; height: 103px;" />
|
||||
<pre>
|
||||
<strong>Input:</strong> grid = [[1,3,1,15],[1,3,3,1]]
|
||||
|
Reference in New Issue
Block a user