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 3, 2026 22:47vahookvahookError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 9, 2026 10:05Tomislav Tunkovic18.76CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 9, 2026 10:0609,582,7931,073,000016,384No answer to stdout. Died or killed?
2Feb 3, 2026 22:474,06421,370,1502,384,0001,192,0002,490,368
3Feb 3, 2026 22:474,08820,009,4632,398,0001,199,0002,490,368
4Feb 3, 2026 22:474,08922,104,5702,399,0001,199,0002,502,656
5Feb 3, 2026 22:474,10520,542,2412,408,0001,204,0002,490,368
6Feb 3, 2026 22:474,10824,506,6172,410,0001,205,0002,502,656
7Feb 3, 2026 22:474,13325,257,8582,425,0001,212,0002,506,752
8Feb 3, 2026 22:474,13618,237,5732,427,0001,213,0002,277,376
9Feb 3, 2026 22:474,13917,214,9152,428,0001,214,0002,494,464
10Feb 3, 2026 22:474,15917,702,5872,440,0001,220,0002,498,560