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 28, 2026 04:32Dominique GarmierDominique GarmierScore: 42,764Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 28, 2026 02:2542,66661,429,08637,546,00002,277,376
2Mar 28, 2026 02:2542,69262,034,68637,569,00002,478,080
3Mar 28, 2026 04:3242,74054,772,72837,611,00002,535,424
4Mar 28, 2026 04:3242,76460,610,71437,632,00002,486,272
5Mar 28, 2026 04:3243,18565,360,64737,003,0001,000,0002,277,376
6Mar 28, 2026 02:2543,77457,087,37138,521,00002,277,376