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 23, 2026 21:40Dominique GarmierDominique GarmierScore: 43,647Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 23, 2026 21:4043,52764,516,47537,296,0001,008,0002,383,872
2Mar 23, 2026 21:1443,54260,676,47838,317,00002,379,776
3Mar 23, 2026 21:1443,63464,612,26338,398,00002,375,680
4Mar 23, 2026 21:4043,64769,851,06938,409,00002,371,584
5Mar 23, 2026 21:1443,77557,261,49938,522,00002,379,776
6Mar 23, 2026 21:4044,07464,583,73638,785,00002,375,680