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 15:50izotoffizotoffScore: 115,795Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 21, 2026 15:50115,55771,469,18041,738,0001,018,0002,404,352
2Mar 21, 2026 15:50115,79566,770,51641,848,000996,0002,531,328
3Mar 21, 2026 15:50116,29772,926,76442,006,0001,024,0002,527,232