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 listMar 28, 2026 08:52Dominique GarmierDominique GarmierError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 9, 2026 10:09Tomislav Tunkovic10.75CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 9, 2026 10:10012,558,0734,444,000020,480No answer to stdout. Died or killed?stderr
2Mar 28, 2026 08:5211,05526,993,1669,728,00002,519,040
3Mar 28, 2026 08:5211,08527,606,5479,755,00002,478,080
4Mar 28, 2026 08:5211,12326,220,3879,788,00002,510,848