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 8, 2026 22:22zielajzielajScore: 3,757Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 8, 2026 22:223,61121,549,2451,059,0002,119,0002,330,624
2Feb 8, 2026 22:223,75717,619,5311,102,0002,204,0002,277,376
3Feb 8, 2026 22:223,80819,791,1942,234,0001,117,0002,338,816