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 listFeb 15, 2026 01:41zielajzielajScore: 3,444Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 15, 2026 01:413,43318,758,8762,014,0001,007,0002,420,736
2Feb 15, 2026 01:413,44424,737,5612,021,0001,010,0002,416,640
3Feb 15, 2026 01:413,46420,072,1691,016,0002,032,0002,420,736