TopK Sergey Svistunov

Find the sum of the 100 largest values in a stream of binary integers as fast as possible.

Input: 100 000 000 uint32 values in little-endian binary on STDIN (4 bytes each).

Output: The uint64 sum of the top 100 greatest values, printed as a decimal string.

Back to listJan 12, 2026 04:40Josu San MartinJosu San MartinScore: 85,019Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 30, 2025 01:0484,62252,338,25630,300,0001,010,0002,359,296
2Dec 30, 2025 01:0484,76853,173,15831,364,00002,359,296
3Jan 12, 2026 04:4084,81459,374,62930,369,0001,012,0002,289,664
4Jan 12, 2026 04:3884,84353,812,74631,392,00002,367,488
5Dec 30, 2025 01:0484,85152,021,81330,383,0001,012,0002,355,200
6Dec 30, 2025 01:0484,93552,211,02030,413,0001,013,0002,351,104
7Dec 30, 2025 01:0485,01455,606,38530,441,0001,014,0002,285,568
8Dec 30, 2025 01:0485,01959,178,54130,443,0001,014,0002,285,568
9Dec 30, 2025 01:0485,21653,555,82330,513,0001,017,0002,285,568
10Jan 12, 2026 04:3885,24952,478,46331,542,00002,355,200
11Jan 12, 2026 04:4085,37855,764,70031,590,00002,363,392
12Dec 30, 2025 01:0485,44356,275,18330,595,0001,019,0002,285,568
13Jan 12, 2026 04:4085,49257,437,53330,612,0001,020,0002,289,664
14Dec 30, 2025 01:0485,54359,648,20430,630,0001,021,0002,351,104
15Jan 12, 2026 04:3886,82260,210,01531,121,0001,003,0002,355,200