ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1086. Cryptography

AC but overkill
Posted by Bogatyr 21 Sep 2012 20:30
I wrote an iterative primes generator using a 2-3-5 wheel for candidate generation and a priority queue for storing composite sequences.    I feel silly seeing all the ACs for trial division.   But at least now I know about wheel generators and iterative prime generation :).