Ничего не понимаю, в Идее код работает, в приложении выдаёт ошибку: incompatible types: inference variable T has incopatible upper bounds int package com.javarush.task.task08.task0826; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; /* Пять победителей */ public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int[] array = new int[20]; for (int i = 0; i < array.length; i++) { array[i] = Integer.parseInt(reader.readLine()); } sort(array); System.out.println(array[0]); System.out.println(array[1]); System.out.println(array[2]); System.out.println(array[3]); System.out.println(array[4]); } public static void sort(int[] array) { //напишите тут ваш код Arrays.sort(array); int[] newArray = Arrays.copyOf(array,array.length); int index = array.length-1; for(int i:newArray){ array[index]=i; index--; } } }