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 03:30Yuriy LyfenkoYuriy LyfenkoScore: 3,346Success
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 03:303,27854,219,46224,889,0001,991,0002,342,912
2Apr 14, 2026 03:403,31052,723,84425,129,0002,010,0002,404,352
3Apr 14, 2026 03:403,31158,036,79125,140,0002,011,0002,293,760
4Apr 14, 2026 03:303,31456,469,98525,164,0002,013,0002,502,656
5Apr 14, 2026 03:403,31556,770,56226,181,0001,006,0002,289,664
6Apr 14, 2026 03:303,32555,901,44125,242,0002,019,0002,277,376
7Apr 14, 2026 03:303,32654,910,90624,241,0003,030,0002,502,656
8Apr 14, 2026 03:403,33054,417,77123,262,0004,045,0002,392,064
9Apr 14, 2026 03:403,33054,000,03025,284,0002,022,0002,523,136
10Apr 14, 2026 03:403,34656,980,07624,391,0003,048,0002,314,240
11Apr 14, 2026 03:403,34652,663,70327,435,00002,387,968
12Apr 14, 2026 03:303,34751,209,48925,413,0002,033,0002,445,312
13Apr 14, 2026 03:303,35347,559,62327,493,00002,412,544
14Apr 14, 2026 03:403,39457,913,76225,840,0001,987,0002,502,656
15Apr 14, 2026 03:303,39453,589,62726,839,000994,0002,273,280
16Apr 14, 2026 03:403,39555,710,19526,849,000994,0002,281,472
17Apr 14, 2026 03:303,39652,238,67726,857,000994,0002,502,656
18Apr 14, 2026 03:303,42552,606,61724,072,0004,012,0002,416,640