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 listJun 25, 2021 15:30Yuriy LyfenkoYuriy LyfenkoScore: 75,527Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 25, 2021 15:3075,452125,008,32466,397,78402,224,128
2Jun 25, 2021 15:3075,527124,162,90966,464,03102,220,032
3Jun 25, 2021 15:3075,562132,552,41066,494,71602,224,128