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 6, 2026 04:49vahookvahookError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
May 17, 2026 07:05M-Rochat10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2026 07:05011,652,4261,211,00002,117,632expected "6442459076 ", got " "stderr
2May 17, 2026 07:0508,550,7781,198,00002,117,632expected "6442459076 ", got " "stderr
3May 17, 2026 07:0509,508,42301,378,0002,117,632expected "6442459076 ", got " "stderr
4Feb 6, 2026 04:493,44820,306,2511,011,0002,023,0002,490,368
5Feb 6, 2026 04:493,47021,138,3841,018,0002,036,0002,506,752
6Feb 6, 2026 04:493,47417,978,4691,019,0002,038,0002,498,560
7Feb 6, 2026 04:493,48120,199,3781,021,0002,042,0002,498,560
8Feb 6, 2026 04:493,61818,759,6481,061,0002,123,0002,494,464
9Feb 6, 2026 04:493,64518,191,6861,069,0002,139,0002,277,376