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 02:24Yuriy LyfenkoYuriy LyfenkoScore: 59,099Success
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 02:5558,935127,799,80351,863,12202,215,936
2Jun 18, 2021 03:0058,937128,057,84751,864,25902,215,936
3Jun 18, 2021 02:1958,95892,381,86851,883,42802,220,032
4Jun 18, 2021 02:1959,016113,062,17151,934,50002,228,224
5Jun 18, 2021 03:0059,044117,223,34151,958,89902,220,032
6Jun 18, 2021 03:0559,064145,412,14151,975,89402,215,936
7Jun 18, 2021 02:1859,067117,553,76551,979,14702,224,128
8Jun 18, 2021 02:2459,087111,301,69351,996,37802,215,936
9Jun 18, 2021 02:5559,093107,921,51352,001,85202,215,936
10Jun 18, 2021 02:1759,095130,072,02852,003,71502,224,128
11Jun 18, 2021 02:1959,099120,662,01352,007,54502,224,128
12Jun 18, 2021 02:1759,111104,162,78752,018,11102,220,032
13Jun 18, 2021 03:0059,114116,762,73852,019,94202,228,224
14Jun 18, 2021 02:5559,121108,588,04152,026,37402,228,224
15Jun 18, 2021 02:1759,126113,824,92652,030,88302,215,936
16Jun 18, 2021 02:1859,139117,491,49652,042,02102,215,936
17Jun 18, 2021 03:0559,155134,663,07452,056,80602,207,744
18Jun 18, 2021 02:2459,169129,770,72852,069,01102,228,224
19Jun 18, 2021 03:0559,205111,227,67052,100,15802,215,936
20Jun 18, 2021 02:1859,230114,594,68552,122,45602,224,128
21Jun 18, 2021 02:2459,262114,556,09952,150,66602,224,128