first commit
This commit is contained in:
13
CS1322/p5/P5_RUN_BIG.java
Normal file
13
CS1322/p5/P5_RUN_BIG.java
Normal file
@@ -0,0 +1,13 @@
|
||||
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());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user