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 listSep 23, 2026 18:25Matthias GörgensMatthias GörgensScore: 40,426Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 23, 2026 18:2539,828337,034,376325,591,0001,004,0002,113,536
2Sep 23, 2026 18:2540,426341,936,933330,495,0001,002,0002,113,536
3Sep 23, 2026 18:2540,503342,665,114331,128,0001,002,0002,113,536