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 listFeb 7, 2026 03:18Josu San MartinJosu San MartinScore: 9,610Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 7, 2026 03:189,397102,674,19472,052,0005,003,0002,289,664
2Feb 7, 2026 03:189,610106,146,63568,831,0009,975,0002,441,216
3Feb 7, 2026 03:189,885108,611,43874,054,0007,005,0002,367,488