Sum of prime numbers Andrey Tsvetkov

Compute the sum of all prime numbers in a stream of binary integers as fast as possible.

Input: 1 000 000 uint32 values in little-endian binary on STDIN (4 bytes each).

Output: The uint64 sum of all values that are prime, printed as a decimal string.

Back to listJun 13, 2026 12:30Victor MerckléVictor MerckléScore: 7,057Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2026 12:336,95013,557,9906,116,00002,113,536
2Jun 13, 2026 12:337,05213,908,4556,206,00002,113,536
3Jun 13, 2026 12:337,05413,685,9306,208,00002,113,536
4Jun 13, 2026 12:337,05713,439,3816,211,00002,113,536
5Jun 13, 2026 12:337,05713,889,3626,211,00002,113,536
6Jun 13, 2026 12:337,06213,545,3276,215,00002,113,536
7Jun 13, 2026 12:337,07513,932,7716,226,00002,113,536
8Jun 13, 2026 12:337,10213,686,7436,250,00002,113,536
9Jun 13, 2026 12:337,30613,821,4596,430,00002,113,536