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 25, 2026 04:51MaximMaximScore: 4,652Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 25, 2026 04:524,61445,445,97834,541,0003,301,0002,113,536
2Nov 25, 2026 04:524,61945,497,10234,579,0003,297,0002,113,536
3Nov 25, 2026 04:524,63945,686,26335,000,0003,044,0002,113,536
4Nov 25, 2026 04:524,64345,727,68835,019,0003,058,0002,113,536
5Nov 25, 2026 04:524,65245,771,78834,765,0003,382,0002,113,536
6Nov 25, 2026 04:524,65545,795,50434,739,0003,435,0002,113,536
7Nov 25, 2026 04:524,68446,055,82235,316,0003,096,0002,113,536
8Nov 25, 2026 04:524,68546,070,07335,225,0003,196,0002,113,536
9Nov 25, 2026 04:524,70346,279,82135,404,0003,166,0002,113,536