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 listJul 31, 2022 06:33Robin VoetterRobin VoetterScore: 117,632Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 31, 2022 06:33117,421163,537,114103,330,78602,301,952
2Jul 31, 2022 06:33117,632169,584,111103,516,18202,191,360
3Jul 31, 2022 06:33118,083169,847,479103,913,03102,195,456