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 4, 2026 16:24vahookvahookScore: 3,603Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 4, 2026 16:243,56021,896,5251,044,0002,089,0002,502,656
2Feb 4, 2026 16:243,59121,163,3581,053,0002,107,0002,498,560
3Feb 4, 2026 16:243,59722,319,1811,055,0002,110,0002,490,368
4Feb 4, 2026 16:243,60322,783,8491,057,0002,114,0002,498,560
5Feb 4, 2026 16:243,60523,787,0911,057,0002,115,0002,494,464
6Feb 4, 2026 16:243,63817,123,2531,067,0002,134,0002,277,376