최근 글
최근 댓글
블로그 이웃
목록2017/04/13 (1)
번개애비의 라이프스톼일
소스코드 : #include #include using namespace std;void counting_sort(int A[], int k, int n){ int i, j; int B[15], C[100];for (i = 0; i = 0; i--) heapify(A, n, i); for (int i=n-1; i>=0; i--){ swap(A[0], A[i]); heapify(A, i, 0); }printf("힙정렬 결과 : "); for (int i = 1; i
IT
2017. 4. 13. 23:33