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 listNov 28, 2022 03:33apuxbtapuxbtScore: 92,729Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 28, 2022 03:3392,726151,250,29281,598,49302,179,072
2Nov 28, 2022 03:3392,729136,455,19481,601,91402,179,072
3Nov 28, 2022 03:3393,373135,355,01982,168,39402,174,976