Skip to content

Add Project Euler problem 187 solution 1 #8182

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
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
Next Next commit
Optimize solution
  • Loading branch information
MaximSmolskiy authored Mar 23, 2023
commit f0ed98cc27b61e25c6022384f89a973835f504a6
2 changes: 1 addition & 1 deletion project_euler/problem_187/sol1.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def solution(max_number: int = 10**8) -> int:
10
"""

prime_numbers = calculate_prime_numbers(max_number)
prime_numbers = calculate_prime_numbers(max_number // 2)

semiprimes_count = 0
left = 0
Expand Down