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 8, 2025 06:02KeefeKeefeScore: 74,526Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 8, 2025 06:0274,49287,600,96864,545,0001,008,0002,273,280
2Aug 8, 2025 06:0274,52689,262,09064,575,0001,008,0002,285,568
3Aug 8, 2025 06:0274,57288,377,07365,623,00002,285,568