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 listApr 20, 2026 18:06Charles CabergsCharles CabergsScore: 9,929Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 20, 2026 18:089,658104,647,12275,190,0004,010,0002,404,352
2Apr 20, 2026 18:089,929104,646,80478,408,0003,015,0002,334,720
3Apr 20, 2026 18:089,947106,583,13880,564,0001,007,0002,375,680