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 20:45Tomislav TunkovicTomislav TunkovicScore: 4,210Success
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 20:524,19811,833,0233,695,00002,117,632
2Aug 14, 2026 20:524,20311,787,0833,699,00002,117,632
3Aug 14, 2026 20:524,20511,850,2533,701,00002,117,632
4Aug 14, 2026 20:524,20611,752,0983,702,00002,117,632
5Aug 14, 2026 20:524,21011,810,3463,705,00002,117,632
6Aug 14, 2026 20:524,22011,896,6283,714,00002,117,632
7Aug 14, 2026 20:524,22211,730,3563,716,00002,117,632
8Aug 14, 2026 20:524,23011,814,6433,723,00002,117,632
9Aug 14, 2026 20:524,23811,755,5183,730,00002,117,632