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 27, 2022 21:53apuxbtapuxbtScore: 96,273Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 27, 2022 21:5396,089147,775,13584,558,26102,187,264
2Nov 27, 2022 21:5396,273153,552,20984,720,43602,183,168
3Nov 27, 2022 21:5396,301157,398,04084,744,55302,191,360