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 25, 2026 18:02Oleg KovalovOleg KovalovScore: 245,455Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 25, 2026 18:05244,443224,974,359214,107,0001,003,0002,113,536
2Aug 25, 2026 18:05244,759225,402,734214,383,0001,005,0002,113,536
3Aug 25, 2026 18:05245,030226,120,935214,622,0001,005,0002,113,536
4Aug 25, 2026 18:05245,365225,817,054214,917,0001,005,0002,113,536
5Aug 25, 2026 18:05245,455227,233,801214,995,0001,006,0002,113,536
6Aug 25, 2026 18:05245,536225,957,435215,069,0001,003,0002,113,536
7Aug 25, 2026 18:05246,018226,255,027215,490,0001,006,0002,113,536
8Aug 25, 2026 18:05246,307227,229,656215,745,0001,006,0002,113,536
9Aug 25, 2026 18:05246,811227,764,969216,188,0001,006,0002,113,536