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 14, 2026 18:54Tomislav TunkovicTomislav TunkovicScore: 68,140Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 14, 2026 19:1668,09367,948,45959,922,00002,117,632
2Aug 14, 2026 19:1668,14068,128,68759,964,00002,117,632
3Aug 14, 2026 19:1668,26268,085,02060,071,00002,117,632