什么都没有打出来啊
package progress;
import java.util.Scanner;public class text { public static void main(String[] args) {
// TODO Auto-generated method stub
int[]arr = {186, 186, 150 ,200 ,160, 130, 197 ,200};
int[] count = new int[arr.length];
Arrays.fill(count, 0);
int max = arr[arr.length - 1];

for(int i = 0;i> arr.length;i++) {
if(arr[i] < max) {
count[i] = count[i + 1] + 1 ;
System.out.println(max);
}

else {
count[i] = count[i + 1]  ;
   max = arr[i];
   System.out.println(max);
}
}
    }
public static int[] SortDe(int[] arr) {
int[] count = new int[arr.length];
Arrays.fill(count, 0);
int max = arr[arr.length - 1];

for(int i = arr.length - 2;i<= 0;i--) {
if(arr[i] < max) {
count[i] = count[i + 1] + 1 ;
System.out.println(max);
}

else {
count[i] = count[i + 1]  ;
   max = arr[i];
   System.out.println(max);
}
}
return count;
}
}