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 20, 2026 20:01A_ShamanA_ShamanScore: 137,737Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 20, 2026 20:03137,136129,881,351117,533,0003,147,0002,113,536
2Jun 20, 2026 20:03137,203130,077,169117,388,0003,351,0002,113,536
3Jun 20, 2026 20:03137,293130,043,829117,670,0003,148,0002,113,536
4Jun 20, 2026 20:03137,303130,028,709117,579,0003,248,0002,113,536
5Jun 20, 2026 20:03137,737130,848,586117,926,0003,283,0002,113,536
6Jun 20, 2026 20:03137,738130,425,951117,901,0003,309,0002,113,536
7Jun 20, 2026 20:03137,947130,572,093118,129,0003,265,0002,113,536
8Jun 20, 2026 20:03137,954130,990,707117,236,0004,164,0002,113,536
9Jun 20, 2026 20:03138,130130,669,706118,345,0003,210,0002,113,536