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 12:01Tomislav TunkovicTomislav TunkovicScore: 3,150Success
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 12:043,13810,872,1712,762,000020,480
2Aug 15, 2026 12:043,13810,796,0652,762,000020,480
3Aug 15, 2026 12:043,14410,867,7782,767,000020,480
4Aug 15, 2026 12:043,14410,837,9652,767,000020,480
5Aug 15, 2026 12:043,15010,889,3652,772,000020,480
6Aug 15, 2026 12:043,15711,420,5132,779,000020,480
7Aug 15, 2026 12:043,16310,758,4152,784,000020,480
8Aug 15, 2026 12:043,16510,913,1512,786,000020,480
9Aug 15, 2026 12:043,17610,813,2922,795,000020,480