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 listMar 21, 2026 14:00izotoffizotoffScore: 120,505Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 10, 2025 15:45119,52468,794,86343,219,0001,005,0002,322,432
2Nov 10, 2025 15:45119,56866,012,28340,219,0004,021,0002,297,856
3Mar 21, 2026 14:00119,74166,076,89742,291,0002,013,0002,433,024
4Mar 21, 2026 14:00119,96568,014,02942,370,0002,017,0002,322,432
5Nov 10, 2025 15:45120,00066,651,90244,400,00002,322,432
6Nov 10, 2025 15:45120,17066,475,23642,442,0002,021,0002,428,928
7Nov 10, 2025 15:45120,21664,327,06444,480,00002,322,432
8Mar 21, 2026 14:00120,25765,503,70143,484,0001,011,0002,326,528
9Mar 21, 2026 14:00120,34670,261,69543,516,0001,012,0002,437,120
10Nov 10, 2025 15:45120,50574,537,07742,561,0002,026,0002,326,528
11Mar 21, 2026 14:00120,52473,625,98344,594,00002,322,432
12Nov 10, 2025 15:45120,60076,437,49140,566,0004,056,0002,322,432
13Mar 21, 2026 14:00120,62474,762,21344,631,00002,301,952
14Nov 10, 2025 15:45120,74674,738,79044,676,00002,326,528
15Mar 21, 2026 14:00121,07073,137,97442,806,0001,990,0002,322,432
16Nov 10, 2025 15:45121,23873,503,59943,862,000996,0002,322,432
17Mar 21, 2026 14:00121,32469,632,82443,893,000997,0002,441,216
18Mar 21, 2026 14:00121,52272,822,22942,965,0001,998,0002,428,928