1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-07 08:21:41 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-05-02 23:44:12 +08:00
parent 7ea03594b3
commit 2a71c78585
4790 changed files with 11696 additions and 10944 deletions

View File

@@ -12,7 +12,7 @@
"translatedContent": "<p>给你一个 <code>m x n</code> 的整数网格 <code>accounts</code> ,其中 <code>accounts[i][j]</code> 是第 <code>i<sup></sup></code> 位客户在第 <code>j</code> 家银行托管的资产数量。返回最富有客户所拥有的 <strong>资产总量</strong> 。</p>\n\n<p>客户的 <strong>资产总量</strong> 就是他们在各家银行托管的资产数量之和。最富有客户就是 <strong>资产总量</strong> 最大的客户。</p>\n\n<p> </p>\n\n<p><strong>示例 1</strong></p>\n\n<pre><strong>输入:</strong>accounts = [[1,2,3],[3,2,1]]\n<strong>输出:</strong>6\n<strong>解释:</strong>\n<code>第 1 位客户的资产总量 = 1 + 2 + 3 = 6\n第 2 位客户的资产总量 = 3 + 2 + 1 = 6\n</code>两位客户都是最富有的,资产总量都是 6 ,所以返回 6 。\n</pre>\n\n<p><strong>示例 2</strong></p>\n\n<pre><strong>输入:</strong>accounts = [[1,5],[7,3],[3,5]]\n<strong>输出:</strong>10\n<strong>解释:</strong>\n<code>第 1 位客户的资产总量</code> = 6\n<code>第 2 位客户的资产总量</code> = 10 \n<code>第 3 位客户的资产总量</code> = 8\n第 2 位客户是最富有的,资产总量是 10</pre>\n\n<p><strong>示例 3</strong></p>\n\n<pre><strong>输入:</strong>accounts = [[2,8,7],[7,1,3],[1,9,5]]\n<strong>输出:</strong>17\n</pre>\n\n<p> </p>\n\n<p><strong>提示:</strong></p>\n\n<ul>\n\t<li><code>m == accounts.length</code></li>\n\t<li><code>n == accounts[i].length</code></li>\n\t<li><code>1 &lt;= m, n &lt;= 50</code></li>\n\t<li><code>1 &lt;= accounts[i][j] &lt;= 100</code></li>\n</ul>\n",
"isPaidOnly": false,
"difficulty": "Easy",
"likes": 46,
"likes": 103,
"dislikes": 0,
"isLiked": null,
"similarQuestions": "[]",
@@ -143,7 +143,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"46K\", \"totalSubmission\": \"54K\", \"totalAcceptedRaw\": 46000, \"totalSubmissionRaw\": 54022, \"acRate\": \"85.2%\"}",
"stats": "{\"totalAccepted\": \"82.6K\", \"totalSubmission\": \"94K\", \"totalAcceptedRaw\": 82580, \"totalSubmissionRaw\": 93959, \"acRate\": \"87.9%\"}",
"hints": [
"Calculate the wealth of each customer",
"Find the maximum element in array."