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 31, 2026 01:27Tomislav TunkovicTomislav TunkovicScore: 4,178Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 31, 2026 01:394,12113,115,1712,491,0001,136,00045,056
2Aug 31, 2026 01:394,14513,139,0692,489,0001,159,00045,056
3Aug 31, 2026 01:394,16713,144,6162,494,0001,173,00045,056
4Aug 31, 2026 01:394,17613,172,3452,503,0001,172,00045,056
5Aug 31, 2026 01:394,17813,143,3712,492,0001,185,00045,056
6Aug 31, 2026 01:394,19513,169,6222,223,0001,469,00045,056
7Aug 31, 2026 01:394,20113,181,0702,510,0001,187,00045,056
8Aug 31, 2026 01:394,20213,105,4742,361,0001,337,00045,056
9Aug 31, 2026 01:394,26013,571,1602,636,0001,113,00045,056