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 14, 2026 02:38Yuriy LyfenkoYuriy LyfenkoScore: 3,681Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 14, 2026 02:373,57754,609,11326,301,0003,034,0002,293,760
2Apr 14, 2026 02:383,60050,402,16829,524,00002,306,048
3Apr 14, 2026 02:373,60357,299,40428,523,0001,018,0002,375,680
4Apr 14, 2026 02:373,68161,631,66328,173,0002,012,0002,449,408
5Apr 14, 2026 02:383,68162,694,54828,169,0002,012,0002,494,464
6Apr 14, 2026 02:383,68953,902,41429,244,0001,008,0002,527,232