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 26, 2026 16:39LeighAtkinsLeighAtkinsScore: 7,079Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 26, 2026 16:496,81765,144,74352,800,0003,104,0002,113,536
2Nov 26, 2026 16:496,93266,041,79653,818,0003,026,0002,113,536
3Nov 26, 2026 16:497,03667,280,18554,614,0003,082,0002,113,536
4Nov 26, 2026 16:497,03666,927,36054,670,0003,027,0002,113,536
5Nov 26, 2026 16:497,07967,297,31655,037,0003,016,0002,113,536
6Nov 26, 2026 16:497,14067,804,88155,437,0003,119,0002,113,536
7Nov 26, 2026 16:497,17569,595,34455,713,0003,125,0002,113,536
8Nov 26, 2026 16:497,19568,746,00255,991,0003,015,0002,113,536
9Nov 26, 2026 16:497,40270,086,30957,625,0003,074,0002,113,536