Updated test cases of power_sum.py#9978
Conversation
|
The issue remains unresolved. |
|
power_sum.py has been removed from that list :) |
tianyizheng02
left a comment
There was a problem hiding this comment.
Could you also modify the code to use the ** operator instead of the pow function from math?
backtracking/power_sum.py
Outdated
| if __name__ == "__main__": | ||
| import doctest | ||
|
|
||
| # print(backtrack(80, 1, 1, 0, 0)) |
There was a problem hiding this comment.
Do you plan to keep this line of code?
|
Also, please put the issue number in your PR's description:
This way, GitHub can automatically link your PR to the original issue. However, don't use the word "fixes", because your PR doesn't completely fix the issue on its own. |
|
On your computer, please run: |
|
OLD CODE NEW CODE |
…rr/Python into update_power_sum.py
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
|
Contributes to #9718 |
Describe your change:
I reduced the test cases, so it will run faster than before
Checklist: