13 lines
392 B
Java
13 lines
392 B
Java
public class P5_RUN_BIG{
|
|
private static void printArray(Integer[] t){
|
|
for(int i=0; i<t.length; i++){
|
|
System.out.print(t[i] + ","+ ((i%10)==0?"\n":""));
|
|
}
|
|
}
|
|
|
|
public static void main(String args[]){
|
|
QuickSort qs = new QuickSort(new ArrayWrapper(ArrayWrapper.getRandomIntegerArray(10000)));
|
|
qs.doSort();
|
|
P5_RUN_BIG.printArray(qs.getArrayWrapper().toIntArray());
|
|
}
|
|
} |