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 5, 2025 21:33Aniruddha DebAniruddha DebScore: 116,147Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 5, 2025 21:33115,897118,966,135100,990,000999,0002,531,328
2Aug 5, 2025 21:33116,147125,023,929102,209,00002,437,120
3Aug 5, 2025 21:33116,158124,789,147102,219,00002,428,928