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 listFeb 20, 2026 01:49zielajzielajScore: 3,563Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 20, 2026 01:493,54723,434,0611,040,0002,081,0002,281,472
2Feb 20, 2026 01:493,56322,967,2332,090,0001,045,0002,383,872
3Feb 20, 2026 01:493,71418,549,5341,089,0002,179,0002,383,872