mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-10 09:51:42 +08:00
存量题库数据更新
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
<p>Given <code>m</code>, <code>n</code>, and <code>indices</code>, return <em>the <strong>number of odd-valued cells</strong> in the matrix after applying the increment to all locations in </em><code>indices</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/2019/10/30/e1.png" style="width: 600px; height: 118px;" />
|
||||
<pre>
|
||||
<strong>Input:</strong> m = 2, n = 3, indices = [[0,1],[1,1]]
|
||||
@@ -20,7 +20,7 @@ After applying first increment it becomes [[1,2,1],[0,1,0]].
|
||||
The final matrix is [[1,3,1],[1,3,1]], which contains 6 odd numbers.
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 2:</strong></p>
|
||||
<p><strong class="example">Example 2:</strong></p>
|
||||
<img alt="" src="https://assets.leetcode.com/uploads/2019/10/30/e2.png" style="width: 600px; height: 150px;" />
|
||||
<pre>
|
||||
<strong>Input:</strong> m = 2, n = 2, indices = [[1,1],[0,0]]
|
||||
|
Reference in New Issue
Block a user