mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 23:41:41 +08:00
存量题库数据更新
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<p>Return <em>a 2D array representing <strong>any</strong> matrix that fulfills the requirements</em>. It's guaranteed that <strong>at least one </strong>matrix that fulfills the requirements exists.</p>
|
||||
|
||||
<p> </p>
|
||||
<p><strong>Example 1:</strong></p>
|
||||
<p><strong class="example">Example 1:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> rowSum = [3,8], colSum = [4,7]
|
||||
@@ -21,7 +21,7 @@ Another possible matrix is: [[1,2],
|
||||
[3,5]]
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 2:</strong></p>
|
||||
<p><strong class="example">Example 2:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> rowSum = [5,7,10], colSum = [8,6,8]
|
||||
@@ -36,5 +36,5 @@ Another possible matrix is: [[1,2],
|
||||
<ul>
|
||||
<li><code>1 <= rowSum.length, colSum.length <= 500</code></li>
|
||||
<li><code>0 <= rowSum[i], colSum[i] <= 10<sup>8</sup></code></li>
|
||||
<li><code>sum(rows) == sum(columns)</code></li>
|
||||
<li><code>sum(rowSum) == sum(colSum)</code></li>
|
||||
</ul>
|
||||
|
Reference in New Issue
Block a user