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 listMar 20, 2026 14:40olliecrowolliecrowScore: 3,402Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 20, 2026 14:403,29551,179,99525,018,0002,001,0002,297,856
2Mar 20, 2026 14:403,40252,418,43025,905,0001,992,0002,457,600
3Mar 20, 2026 14:4021,365196,880,943173,194,0002,002,0002,412,544