mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 23:41:41 +08:00
update
This commit is contained in:
@@ -143,7 +143,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"15.6K\", \"totalSubmission\": \"46.9K\", \"totalAcceptedRaw\": 15588, \"totalSubmissionRaw\": 46892, \"acRate\": \"33.2%\"}",
|
||||
"stats": "{\"totalAccepted\": \"15.6K\", \"totalSubmission\": \"46.9K\", \"totalAcceptedRaw\": 15594, \"totalSubmissionRaw\": 46920, \"acRate\": \"33.2%\"}",
|
||||
"hints": [
|
||||
"You can use dynamic programming, where dp[k][j] represents the number of ways to express k as the sum of the x-th power of unique positive integers such that the biggest possible number we use is j.",
|
||||
"To calculate dp[k][j], you can iterate over the numbers smaller than j and try to use each one as a power of x to make our sum k."
|
||||
|
Reference in New Issue
Block a user