mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-07 16:31:42 +08:00
存量题库数据更新
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<p>Only include the sum of all the elements on the primary diagonal and all the elements on the secondary diagonal that are not part of the primary diagonal.</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/2020/08/14/sample_1911.png" style="width: 336px; height: 174px;" />
|
||||
<pre>
|
||||
<strong>Input:</strong> mat = [[<strong>1</strong>,2,<strong>3</strong>],
|
||||
@@ -14,7 +14,7 @@
|
||||
Notice that element mat[1][1] = 5 is counted only once.
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 2:</strong></p>
|
||||
<p><strong class="example">Example 2:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> mat = [[<strong>1</strong>,1,1,<strong>1</strong>],
|
||||
@@ -24,7 +24,7 @@ Notice that element mat[1][1] = 5 is counted only once.
|
||||
<strong>Output:</strong> 8
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 3:</strong></p>
|
||||
<p><strong class="example">Example 3:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> mat = [[<strong>5</strong>]]
|
||||
|
Reference in New Issue
Block a user