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 13, 2026 03:08Josu San MartinJosu San MartinScore: 69,176Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 13, 2026 03:0768,55751,028,22224,352,0001,014,0002,400,256
2Jan 13, 2026 03:0868,58151,393,68725,375,00002,277,376
3Jan 13, 2026 03:0868,71148,457,96924,407,0001,016,0002,408,448
4Jan 13, 2026 03:0968,95449,761,08625,513,00002,277,376
5Jan 13, 2026 03:0969,03545,612,85225,543,00002,277,376
6Jan 13, 2026 03:0969,05751,722,84925,551,00002,412,544
7Jan 13, 2026 03:0969,09552,796,77625,565,00002,387,968
8Jan 13, 2026 03:0869,17653,706,86025,595,00002,277,376
9Jan 13, 2026 03:0769,19753,427,48525,603,00002,277,376
10Jan 13, 2026 03:0969,28152,979,44625,634,00002,277,376
11Jan 13, 2026 03:0969,28455,894,67625,635,00002,277,376
12Jan 13, 2026 03:0769,43853,578,83324,665,0001,027,0002,277,376
13Jan 13, 2026 03:0869,73853,937,00524,811,000992,0002,404,352
14Jan 13, 2026 03:0869,86852,196,03625,851,00002,408,448
15Jan 13, 2026 03:0870,00552,146,85123,910,0001,992,0002,404,352