1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-05 15:31:43 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2023-12-09 19:57:46 +08:00
parent 9bc4722a45
commit 3770b44d1e
4792 changed files with 10889 additions and 10886 deletions

View File

@@ -155,7 +155,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"42.6K\", \"totalSubmission\": \"71.8K\", \"totalAcceptedRaw\": 42632, \"totalSubmissionRaw\": 71825, \"acRate\": \"59.4%\"}",
"stats": "{\"totalAccepted\": \"42.6K\", \"totalSubmission\": \"71.8K\", \"totalAcceptedRaw\": 42641, \"totalSubmissionRaw\": 71837, \"acRate\": \"59.4%\"}",
"hints": [
"First, check if finalSum is divisible by 2. If it isnt, then we cannot split it into even integers.",
"Let k be the number of elements in our split. As we want the maximum number of elements, we should try to use the first k - 1 even elements to grow our sum as slowly as possible.",