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 15:23Aleksei ShahoikaAleksei ShahoikaScore: 82,073Success
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 15:2381,82597,236,84970,006,0002,000,0002,285,568
2Feb 13, 2026 15:2381,939100,600,66170,104,0002,002,0002,527,232
3Feb 13, 2026 15:2381,94494,911,01671,110,0001,001,0002,269,184
4Feb 13, 2026 15:2382,00894,596,37370,163,0002,004,0002,285,568
5Feb 13, 2026 15:2382,07394,748,82470,218,0002,006,0002,342,912
6Feb 13, 2026 15:2382,10797,620,18370,247,0002,007,0002,285,568
7Feb 13, 2026 15:2382,11897,334,13870,257,0002,007,0002,269,184
8Feb 13, 2026 15:2382,15793,802,98070,290,0002,008,0002,514,944
9Feb 13, 2026 15:2382,16994,030,83770,301,0002,008,0002,285,568