mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-04 23:11:41 +08:00
存量题库数据更新
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<p>Return <em>the <strong>minimum</strong> number of operations to make the grid <strong>uni-value</strong></em>. If it is not possible, 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/2021/09/21/gridtxt.png" style="width: 164px; height: 165px;" />
|
||||
<pre>
|
||||
<strong>Input:</strong> grid = [[2,4],[6,8]], x = 2
|
||||
@@ -17,7 +17,7 @@
|
||||
A total of 4 operations were used.
|
||||
</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/21/gridtxt-1.png" style="width: 164px; height: 165px;" />
|
||||
<pre>
|
||||
<strong>Input:</strong> grid = [[1,5],[2,3]], x = 1
|
||||
@@ -25,7 +25,7 @@ A total of 4 operations were used.
|
||||
<strong>Explanation:</strong> We can make every element equal to 3.
|
||||
</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/21/gridtxt-2.png" style="width: 164px; height: 165px;" />
|
||||
<pre>
|
||||
<strong>Input:</strong> grid = [[1,2],[3,4]], x = 2
|
||||
|
Reference in New Issue
Block a user