Pandigital prime sets
This problem seem not so easy to find an algorithm under 0.1 second. I checked the discussion thread, found that most solutions are at least a couple of seconds (that was posted several years ago) or use a prebuilt prime table.
It takes 0.6 second for my code to get the answer.
No comments:
Post a Comment