main.c 296 B

12345678910111213141516171819
  1. #include<stdio.h>
  2. #include"algo.h"
  3. #include"io.h"
  4. int main()
  5. {
  6. int Arraylength=0;
  7. InPutArrayLength(&Arraylength);
  8. int* arr = RandomArrayCreate(Arraylength);
  9. OutPut(arr,Arraylength);
  10. QuickSort(arr,0, Arraylength-1);
  11. OutPut(arr,Arraylength);
  12. }