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 1, 2022 08:01apuxbtapuxbtScore: 31,214Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 1, 2022 08:0130,96049,754,88226,236,0001,009,0002,289,664
2Dec 1, 2022 08:0130,97851,180,59625,242,0002,019,0002,289,664
3Dec 1, 2022 08:0130,99452,461,49625,255,0002,020,0002,289,664
4Dec 1, 2022 08:0131,01352,146,49126,281,0001,010,0002,523,136
5Dec 1, 2022 08:0131,16953,783,88026,414,0001,015,0002,269,184
6Dec 1, 2022 08:0131,21488,339,40927,468,52202,244,608
7Dec 1, 2022 08:0131,21449,834,08726,451,0001,017,0002,265,088
8Dec 1, 2022 08:0131,22459,472,33926,460,0001,017,0002,277,376
9Dec 1, 2022 08:0131,236101,568,33327,487,24502,248,704
10Dec 1, 2022 08:0131,25952,294,22826,490,0001,018,0002,269,184
11Dec 1, 2022 08:0131,29848,438,16526,522,0001,020,0002,273,280
12Dec 1, 2022 08:0131,320101,095,32027,561,19202,248,704