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 03:45vahookvahookError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
May 17, 2026 07:38M-Rochat10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2026 07:38010,880,3681,183,00002,117,632expected "6442459076 ", got " "stderr
2May 17, 2026 07:38010,647,20201,409,0002,117,632expected "6442459076 ", got " "stderr
3May 17, 2026 07:3808,856,9151,351,00002,117,632expected "6442459076 ", got " "stderr
4Feb 6, 2026 03:463,44021,326,7261,009,0002,018,0002,494,464
5Feb 6, 2026 03:463,46820,682,8061,017,0002,035,0002,502,656
6Feb 6, 2026 03:453,49818,246,8751,026,0002,052,0002,498,560
7Feb 6, 2026 03:463,50118,933,8401,027,0002,054,0002,494,464
8Feb 6, 2026 03:453,52321,343,7981,033,0002,067,0002,502,656
9Feb 6, 2026 03:453,52817,103,2231,035,0002,070,0002,494,464