|
void main()
{
int A[N];
int n,i,p;
FILE *fp;
fp = fopen("qsort.input","r");
fscanf(fp,"%d",&n);
printf("입력된 배열은 : ");
for(i=0;i<n;i++)
{
fscanf(fp,"%d",&A[i]);
printf("%d ",A[i]);
}
printf("\n정렬할 방법을 선택하세요.\n1. pivot값이 처음값일때 Quick Sort\
|
- 페이지 3페이지
- 가격 700원
- 등록일 2010.07.22
- 파일종류 기타
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
sort();
for(int i=0;i<5;i++) {
test3->search();
}
delete test3;
break;
}
default : {
cout << "종료를 선택하셨습니다." << endl;
break;
}
}
return 0;
} // main 종료
=====================================main()함수끝=========================================
============================
|
- 페이지 9페이지
- 가격 1,000원
- 등록일 2005.11.12
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
#include <stdio.h>
#include <conio.h>
#define ELEMENT 200
void
bubble_sort(int array[], int),
insertion_sort(int array[], int),
selection_sort(int array[], int),
quick_sort(int array[], int, int, int);
.
.
.
.
.
printf("Select Number of Sorting Method\n");
printf("
|
- 페이지 1페이지
- 가격 1,000원
- 등록일 2005.10.28
- 파일종류 기타
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
#include<iostream>
#include<iomanip>
#include<ctime>
#include<cstdlib>
using namespace std ;
const int cAry_Size = 50 ;
void bldPerm (int randNos[]);
void printData (int data[], int size, int lineSize);
void selectionSort(int randNos[], int last, int& count);
void ex
|
- 페이지 2페이지
- 가격 1,000원
- 등록일 2006.03.05
- 파일종류 기타
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
정렬 전 ------------------ \n\n");
printf("배열원본 = ");
for(i=0; i<10; i++)
{
printf("%d ",Array[i]);
}
printf("\n\n");
mergeSort(Array,10);
return 0;
}
· 실행화면 선택정렬 (selecttion sort)
· 소스
· 실행화면
합병정렬 (merge sort)
· 소스
· 실행화면
|
- 페이지 7페이지
- 가격 1,300원
- 등록일 2012.11.29
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|