Quantcast
Channel: CodeChef Discuss - latest questions
Viewing all articles
Browse latest Browse all 39796

Fast method Prime number generation

$
0
0

I am trying to write the code for PRIME1 problem here http://www.spoj.pl/problems/PRIME1 But I am getting a time limit exceeded error. I have employed the most basic algorithm for generating prime numbers. What is the faster methods? Any references?


Viewing all articles
Browse latest Browse all 39796

Trending Articles