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 15, 2026 11:47Tomislav TunkovicTomislav TunkovicScore: 3,315Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 15, 2026 11:493,28910,885,3142,895,000020,480
2Aug 15, 2026 11:493,30010,947,8892,904,000020,480
3Aug 15, 2026 11:493,30310,935,4972,907,000020,480
4Aug 15, 2026 11:493,30911,165,5482,912,000020,480
5Aug 15, 2026 11:493,31510,956,2032,918,000020,480
6Aug 15, 2026 11:493,31810,944,4412,920,000020,480
7Aug 15, 2026 11:493,32210,952,9182,924,000020,480
8Aug 15, 2026 11:493,34710,852,1452,946,000020,480
9Aug 15, 2026 11:493,53911,226,4673,115,000020,480