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 02:16vahookvahookError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
May 17, 2026 06:56M-Rochat10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2026 06:5709,637,7021,182,00002,113,536expected "6442459076 ", got " "
2May 17, 2026 06:57010,629,4561,199,00002,113,536expected "6442459076 ", got " "
3May 17, 2026 06:57010,303,1311,146,00002,113,536expected "6442459076 ", got " "
4Feb 6, 2026 02:163,45022,065,4751,012,0002,024,0002,498,560
5Feb 6, 2026 02:163,45318,350,7761,013,0002,026,0002,494,464
6Feb 6, 2026 02:163,46021,435,7381,015,0002,030,0002,494,464
7Feb 6, 2026 02:163,46417,526,5551,016,0002,032,0002,498,560
8Feb 6, 2026 02:163,46520,331,3371,016,0002,033,0002,498,560
9Feb 6, 2026 02:163,49421,301,0651,025,0002,050,0002,506,752