public void test(int[] a,int dec){
Map map = new HashMap();
int length = a.length;
ArrayList list = new ArrayList(length);
for(int i:a){
list.add(i);
}
Collections.sort(list);
int j =0;
for(int i = 1; i
public void test(int[] a,int dec){
Map map = new HashMap();
int length = a.length;
ArrayList list = new ArrayList(length);
for(int i:a){
list.add(i);
}
Collections.sort(list);
int j =0;
for(int i = 1; i