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 listDec 26, 2025 00:52vahookvahookScore: 5,841Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 26, 2025 00:525,81019,468,5704,091,0001,022,0002,535,424
2Dec 26, 2025 00:525,81520,666,4524,094,0001,023,0002,347,008
3Dec 26, 2025 00:525,83321,775,2243,080,0002,053,0002,535,424
4Dec 26, 2025 00:525,83920,988,7624,111,0001,027,0002,535,424
5Dec 26, 2025 00:525,84118,873,1364,112,0001,028,0002,535,424
6Dec 26, 2025 00:525,85020,459,5754,119,0001,029,0002,441,216
7Dec 26, 2025 00:525,86420,951,7184,128,0001,032,0002,539,520
8Dec 26, 2025 00:525,93024,937,2104,175,0001,043,0002,445,312
9Dec 26, 2025 00:526,02022,060,4814,239,0001,059,0002,535,424