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 listFeb 13, 2026 22:56Aleksei ShahoikaAleksei ShahoikaScore: 78,825Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 13, 2026 22:5678,63297,377,05367,191,0002,005,0002,285,568
2Feb 13, 2026 22:5678,665102,530,88767,219,0002,006,0002,285,568
3Feb 13, 2026 22:5678,70691,447,25769,261,00002,527,232
4Feb 13, 2026 22:5678,74089,340,44167,283,0002,008,0002,269,184
5Feb 13, 2026 22:5678,82596,901,63368,361,0001,005,0002,285,568
6Feb 13, 2026 22:5678,86992,874,85068,400,0001,005,0002,527,232
7Feb 13, 2026 22:5678,90591,088,19968,430,0001,006,0002,285,568
8Feb 13, 2026 22:5679,09491,269,38768,595,0001,008,0002,293,760
9Feb 13, 2026 22:5679,10897,399,76568,607,0001,008,0002,285,568