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 18, 2021 01:29Yuriy LyfenkoYuriy LyfenkoScore: 108,946Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 18, 2021 01:26108,750147,978,54395,699,74102,244,608
2Jun 18, 2021 01:30108,812148,845,77895,754,57802,236,416
3Jun 18, 2021 01:26108,924164,042,33395,852,76902,240,512
4Jun 18, 2021 01:30108,938164,717,16295,865,80902,240,512
5Jun 18, 2021 01:29108,946157,111,98495,872,51402,244,608
6Jun 18, 2021 01:30108,948158,008,47895,874,51802,240,512
7Jun 18, 2021 01:29108,977152,161,03695,899,52902,232,320
8Jun 18, 2021 01:29109,079167,562,62395,989,37002,240,512
9Jun 18, 2021 01:26109,113160,458,60796,019,68702,244,608