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 listAug 14, 2026 21:21Tomislav TunkovicTomislav TunkovicScore: 3,743Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 14, 2026 21:273,65311,266,8853,215,00002,113,536
2Aug 14, 2026 21:273,66211,307,7453,223,00002,113,536
3Aug 14, 2026 21:273,72611,269,4053,279,00002,113,536
4Aug 14, 2026 21:273,72811,306,8873,281,00002,113,536
5Aug 14, 2026 21:273,74311,371,0723,294,00002,113,536
6Aug 14, 2026 21:273,74611,356,4683,297,00002,113,536
7Aug 14, 2026 21:273,74711,306,3093,298,00002,113,536
8Aug 14, 2026 21:273,75411,355,2663,304,00002,113,536
9Aug 14, 2026 21:273,76211,354,5693,311,00002,113,536