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 listAug 15, 2026 06:49Tomislav TunkovicTomislav TunkovicScore: 3,598Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 15, 2026 06:513,56411,182,4673,137,00002,113,536
2Aug 15, 2026 06:513,57011,237,0203,142,00002,113,536
3Aug 15, 2026 06:513,57711,263,0033,148,00002,113,536
4Aug 15, 2026 06:513,57812,522,0253,149,00002,113,536
5Aug 15, 2026 06:513,59811,380,4363,167,00002,113,536
6Aug 15, 2026 06:513,64811,267,9773,211,00002,113,536
7Aug 15, 2026 06:513,66411,210,2673,225,00002,113,536
8Aug 15, 2026 06:513,66911,261,6793,229,00002,113,536
9Aug 15, 2026 06:513,69212,032,3613,249,00002,113,536