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 listJul 26, 2026 15:02ChinLLChinLLScore: 22,340,862Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 26, 2026 15:0522,271,3708,250,793,3158,088,795,000151,612,0002,113,536
2Jul 26, 2026 15:0522,340,8628,277,523,0248,117,069,000149,050,0002,113,536
3Jul 26, 2026 15:0522,440,8168,313,384,6128,151,151,000151,951,0002,113,536