1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-07 00:11:41 +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\": \"29.4K\", \"totalSubmission\": \"45.9K\", \"totalAcceptedRaw\": 29373, \"totalSubmissionRaw\": 45856, \"acRate\": \"64.1%\"}",
"stats": "{\"totalAccepted\": \"29.4K\", \"totalSubmission\": \"45.9K\", \"totalAcceptedRaw\": 29374, \"totalSubmissionRaw\": 45857, \"acRate\": \"64.1%\"}",
"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.",