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 14, 2026 22:32olliecrowolliecrowScore: 19,080Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 14, 2026 22:3219,00245,357,42116,722,00002,285,568
2Feb 14, 2026 22:3219,08047,419,40216,790,00002,510,848
3Feb 14, 2026 22:3219,20947,394,12915,910,000994,0002,428,928