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 6, 2026 05:02zielajzielajScore: 198,426Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 6, 2026 05:02196,650192,356,772171,052,0002,000,0002,277,376
2Feb 6, 2026 05:02198,426203,186,071174,615,00002,351,104
3Feb 6, 2026 05:02199,739204,708,121174,772,000998,0002,347,008