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 listAug 24, 2026 07:14C#_userC#_userScore: 120,732Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 24, 2026 07:19120,275115,619,550102,107,0003,735,0002,142,208
2Aug 24, 2026 07:19120,576115,842,874103,112,0002,995,0002,142,208
3Aug 24, 2026 07:19120,626116,232,238103,131,0003,020,0002,142,208
4Aug 24, 2026 07:19120,636116,241,171102,828,0003,332,0002,142,208
5Aug 24, 2026 07:19120,732116,285,180102,472,0003,773,0002,142,208
6Aug 24, 2026 07:19120,800115,986,598103,201,0003,103,0002,142,208
7Aug 24, 2026 07:19120,930116,489,403103,048,0003,371,0002,138,112
8Aug 24, 2026 07:19121,104116,260,684102,730,0003,842,0002,142,208
9Aug 24, 2026 07:19121,510116,619,617102,957,0003,972,0002,142,208