You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# [3359. Find Sorted Submatrices With Maximum Element at Most K 🔒](https://leetcode.cn/problems/find-sorted-submatrices-with-maximum-element-at-most-k)
9
+
# [3359. 查找最大元素不超过 K 的有序子矩阵 🔒](https://leetcode.cn/problems/find-sorted-submatrices-with-maximum-element-at-most-k)
<p>You are given a 2D matrix <code>grid</code> of size <code>m x n</code>. You are also given a <strong>non-negative</strong> integer <code>k</code>.</p>
17
+
<p>给定一个大小为 <code>m x n</code> 的二维矩阵 <code>grid</code>。同时给定一个 <strong>非负整数</strong> <code>k</code>。</p>
18
18
19
-
<p>Return the number of <strong>submatrices</strong> of <code>grid</code> that satisfy the following conditions:</p>
<p>A submatrix <code>(x1, y1, x2, y2)</code> is a matrix that forms by choosing all cells <code>grid[x][y]</code> where <code>x1 <= x <= x2</code> and <code>y1 <= y <= y2</code>.</p>
26
+
<p>矩阵的子矩阵 <code>(x1, y1, x2, y2)</code> 是通过选择所有满足 <code>x1 <= x <= x2</code> 且 <code>y1 <= y <= y2</code> 的 <code>grid[x][y]</code> 元素组成的矩阵。</p>
27
27
28
28
<p> </p>
29
-
<p><strongclass="example">Example 1:</strong></p>
29
+
30
+
<p><strongclass="example">示例 1:</strong></p>
30
31
31
32
<divclass="example-block">
32
-
<p><strong>Input:</strong> <spanclass="example-io">grid = [[4,3,2,1],[8,7,6,1]], k = 3</span></p>
33
+
<p><spanclass="example-io"><b>输入:</b>grid = [[4,3,2,1],[8,7,6,1]], k = 3</span></p>
<p>Return <em>the result table that includes both the original <code>content_text</code> and the modified text where each word starts with a capital letter</em>.</p>
0 commit comments