2
public double[] sampleStats(int[] count) {3
double[] ans = new double[5];8
if (count[place] > 0) ans[0] = place;11
place = count.length - 1;12
while (ans[1] == -1) {13
if (count[place] > 0) ans[1] = place;16
int countEl = count[0];18
for (int i = 1; i < count.length; i++) {25
for (int i = 0; i < count.length; i++) {27
double tmp = count[i];34
while (whereToStop < countEl / 2) {35
whereToStop += count[place];39
if (countEl % 2 == 1) {40
if (whereToStop == countEl / 2) {42
while (count[place] == 0) place++;48
if (whereToStop == countEl / 2) {50
while (count[place] == 0) place++;