Код: Выделить всё
class Solution
{
public double minimumAverage(int[] nums)
{
double[] averages = new double [nums.length];
Arrays.sort(nums);
int startpos = 0;
int endpos = nums.length-1;
while (startpos
Подробнее здесь: [url]https://stackoverflow.com/questions/78689081/why-is-my-code-not-giving-me-min-avg-and-gives-me-0-00[/url]
Мобильная версия