Skip to content

Update euler-0035.cpp#4

Open
honeyranjan1 wants to merge 1 commit intostbrumme:masterfrom
honeyranjan1:patch-2
Open

Update euler-0035.cpp#4
honeyranjan1 wants to merge 1 commit intostbrumme:masterfrom
honeyranjan1:patch-2

Conversation

@honeyranjan1
Copy link
Copy Markdown

Enhanced the logic for detecting circular primes by:

  • Using the Sieve of Eratosthenes for efficient prime number generation.
  • Optimized rotation handling with std::rotate for clarity and efficiency.
  • Simplified main loop to focus on checking circular primes.

Enhanced the logic for detecting circular primes by:
- Using the Sieve of Eratosthenes for efficient prime number generation.
- Optimized rotation handling with `std::rotate` for clarity and efficiency.
- Simplified main loop to focus on checking circular primes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant