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 listNov 24, 2026 08:15MaximMaximScore: 998,288Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 24, 2026 08:18997,8368,191,968,4278,030,012,000152,249,0002,113,536
2Nov 24, 2026 08:18998,2888,195,737,2848,033,582,000152,385,0002,113,536
3Nov 24, 2026 08:181,008,0458,276,245,9318,112,035,000153,939,0002,113,536