Median Sergey Svistunov

Find the median of 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 median value, printed as a decimal string. The median is defined as the element at index N/2 (i.e., a[50000000]) in the sorted array.

Back to listJun 28, 2026 13:25Shikhar SoniShikhar SoniScore: 11,843Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 28, 2026 13:2611,274101,943,09285,067,0007,384,0002,117,632
2Jun 28, 2026 13:2611,843106,565,28889,364,0007,754,0002,117,632
3Jun 28, 2026 13:2612,345110,711,83993,635,0007,599,0002,117,632