mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-08 00:41:42 +08:00
update
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"998\", \"totalSubmission\": \"2.3K\", \"totalAcceptedRaw\": 998, \"totalSubmissionRaw\": 2299, \"acRate\": \"43.4%\"}",
|
||||
"stats": "{\"totalAccepted\": \"1K\", \"totalSubmission\": \"2.4K\", \"totalAcceptedRaw\": 1049, \"totalSubmissionRaw\": 2381, \"acRate\": \"44.1%\"}",
|
||||
"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