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 16, 2026 13:48Maya RebholzMaya RebholzScore: 1,004,243Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 16, 2026 13:48999,6158,206,259,0138,030,980,000165,868,0002,113,536
2Jun 16, 2026 13:481,004,2438,244,641,4098,069,004,000165,794,0002,113,536
3Jun 16, 2026 13:481,006,4978,262,966,3238,089,593,000163,689,0002,113,536