#include #include #include using namespace std;const int TRUE = 1;const int FALSE = 0;const int N = 1000;void binaryInsertionSort(int a[], int N); // 이진삽입정렬 함수int binarySearch(int a[], int l, int r, int key); // 값이 들어갈 위치를 이진탐색으로 찾아내는 함수inline void swap(int a[], int i, int j); // 스왑void CheckSort(int a[], int n); // 정렬이 되어있는지 검사void main(){int i, a[N+1];double start_time;a[0] = -999;srand(time(NULL));for(i=1; i