Text from the official booklet. Refer to the PDF for original mathematical notation, formatting, and linked input files. Printed samples and inputs are reproduced as published.
A robot collects 100 sensor readings. Compute the median. If even count: median = average of the two middle values. Readings = [42, 17, 93, 58, 21, 76, 39, 88, 65, 14, 27, 91, 33, 50, 84, 7, 99, 12, 36, 62, 18, 47, 55, 68, 73, 29, 81, 24, 37, 90, 16, 45, 59, 74, 28, 61, 80, 10, 86, 35, 53, 97, 19, 41, 64, 32, 49, 71, 23, 56, 38, 66, 79, 11, 83, 20, 48, 67, 15, 52, 85, 31, 63, 9, 78, 25, 43, 70, 30, 57, 22, 60, 77, 13, 82, 26, 46, 69, 34, 54, 87, 40, 51, 75, 8, 89, 44, 72, 6, 92, 5, 96, 3, 95, 2, 94, 1, 98, 4, 100, 61, 33, 55, 12, 67, 23, 81, 17, 39, 29, 76, 41, 53, 14, 69, 19, 84, 7, 45, 88] Find the median in this array of readings