1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-05 07:21:40 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-03-29 15:21:05 +08:00
parent b84ae535b7
commit e730aa6794
2244 changed files with 8703 additions and 59499 deletions

View File

@@ -11,7 +11,7 @@
"translatedContent": null,
"isPaidOnly": false,
"difficulty": "Medium",
"likes": 3163,
"likes": 3167,
"dislikes": 53,
"isLiked": null,
"similarQuestions": "[{\"title\": \"Minimum Cost Homecoming of a Robot in a Grid\", \"titleSlug\": \"minimum-cost-homecoming-of-a-robot-in-a-grid\", \"difficulty\": \"Medium\", \"translatedTitle\": null}, {\"title\": \"Count Fertile Pyramids in a Land\", \"titleSlug\": \"count-fertile-pyramids-in-a-land\", \"difficulty\": \"Hard\", \"translatedTitle\": null}]",
@@ -149,7 +149,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"157.1K\", \"totalSubmission\": \"211.9K\", \"totalAcceptedRaw\": 157115, \"totalSubmissionRaw\": 211881, \"acRate\": \"74.2%\"}",
"stats": "{\"totalAccepted\": \"157.4K\", \"totalSubmission\": \"212.2K\", \"totalAcceptedRaw\": 157370, \"totalSubmissionRaw\": 212247, \"acRate\": \"74.1%\"}",
"hints": [
"Create an additive table that counts the sum of elements of submatrix with the superior corner at (0,0).",
"Loop over all subsquares in O(n^3) and check if the sum make the whole array to be ones, if it checks then add 1 to the answer."