Submit | All submissions | Best solutions | Back to list |
PRIMES - Printing primes |
Wersja polska | English version |
Print all prime numbers from 0 to 1000000.
No input
Output
All primes from range [0;1000000].
No example
Special thanks to numerix for the concept of this task.
Added by: | Piotr Kąkol |
Date: | 2010-04-21 |
Time limit: | 35s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | All except: NODEJS OBJC SCM qobi VB.NET |
hide comments
|
|||||
2010-04-26 20:18:27 Piotr KÄ…kol
No. This is contest to shorten code as much as possible so time limit should satisfy not only Eratostenes sieve but also simple O(n2) algorithm. ;-) |
|||||
2010-04-26 19:56:58 :(){ :|: & };:
Don't you think the time limit is way tooo much ? |