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 listDec 19, 2025 19:35Wookyung JeongWookyung JeongScore: 227,473Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 19, 2025 19:35227,210225,378,012197,946,0001,999,0002,273,280
2Dec 19, 2025 19:35227,473222,694,831199,176,0001,000,0002,400,256
3Dec 19, 2025 19:35228,755225,188,101200,303,0001,001,0002,273,280