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 1, 2026 10:04LatentSearchLatentSearchScore: 8,173Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 1, 2026 10:078,08117,114,2865,964,0001,148,0002,121,728
2Aug 1, 2026 10:078,09717,179,7055,884,0001,242,0002,121,728
3Aug 1, 2026 10:078,16117,226,6426,051,0001,131,0002,121,728
4Aug 1, 2026 10:078,16217,096,6576,072,0001,111,0002,121,728
5Aug 1, 2026 10:078,17317,125,5675,958,0001,235,0002,121,728
6Aug 1, 2026 10:078,17717,141,7116,088,0001,108,0002,121,728
7Aug 1, 2026 10:078,17917,115,6356,096,0001,102,0002,121,728
8Aug 1, 2026 10:078,35517,413,7246,168,0001,185,0002,121,728
9Aug 1, 2026 10:078,45317,358,7796,173,0001,266,0002,121,728