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 listJul 6, 2025 07:54Aniruddha DebAniruddha DebScore: 27,130Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2025 07:5426,422242,221,647204,680,00011,981,0002,318,336
2Jul 6, 2025 07:5427,130246,779,758215,456,0007,014,0002,322,432
3Jul 6, 2025 07:5430,091270,561,138232,764,00013,985,0002,424,832