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, 2023 20:03Oleg KovalovOleg KovalovScore: 553,907Success
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, 2023 20:03553,879543,951,490487,413,48602,236,416
2Dec 19, 2023 20:03553,907554,904,335487,438,16002,240,512
3Dec 19, 2023 20:03554,018550,052,702487,535,93002,236,416