mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 07:21:40 +08:00
update
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": true,
|
||||
"difficulty": "Hard",
|
||||
"likes": 61,
|
||||
"dislikes": 14,
|
||||
"likes": 64,
|
||||
"dislikes": 16,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[{\"title\": \"Number of Digit One\", \"titleSlug\": \"number-of-digit-one\", \"difficulty\": \"Hard\", \"translatedTitle\": null}]",
|
||||
"exampleTestcases": "1\n1\n13\n3\n100\n250",
|
||||
@@ -34,7 +34,7 @@
|
||||
],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"2.6K\", \"totalSubmission\": \"6.2K\", \"totalAcceptedRaw\": 2637, \"totalSubmissionRaw\": 6184, \"acRate\": \"42.6%\"}",
|
||||
"stats": "{\"totalAccepted\": \"2.7K\", \"totalSubmission\": \"6.3K\", \"totalAcceptedRaw\": 2694, \"totalSubmissionRaw\": 6271, \"acRate\": \"43.0%\"}",
|
||||
"hints": [
|
||||
"Define a function f(x) to get the requested sum from 1 to x. So the answer will be f(hi) - f(lo - 1)",
|
||||
"In order to solve f(x) we need to do a DP over digits approach."
|
||||
|
Reference in New Issue
Block a user