8000 Add solution for the Euler problem 190 by mindaugl · Pull Request #12664 · TheAlgorithms/Python · GitHub
[go: up one dir, main page]

Skip to content

Add solution for the Euler problem 190 #12664

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
May 5, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 5, 2025
commit 746272941fc45f9d305da566fc52db4276f96898
2 changes: 1 addition & 1 deletion project_euler/problem_190/sol1.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def solution(n: int = 15) -> int:
p = 1.0
for i in range(1, m + 1):
xi = i * x1
p *= xi ** i
p *= xi**i
total += int(p)
return total

Expand Down
0