|
deap[0];
}
void modified_deap_insert(element deap[], int n, element x)
{
int i;
n++;
if(n == MAX_SIZE){
fprintf(stderr, "The heap is full\n");
exit(1);
}
if(n == 2)
deap[2] = x;
else switch(max_heap(n)){
case FALSE :
i = max_partner(n);
if(x.key > deap[i].key){
deap[n] = deap[i];
max_insert(deap,
|
- 페이지 5페이지
- 가격 1,000원
- 등록일 2007.04.06
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
nsert_min(element[5]);
hp.print_element();
//값삭제
temp = hp.delete_min();
hp.print_element();
temp = hp.delete_min();
hp.print_element();
Console.ReadLine();
}
static void Main(string[] args)
{
(new Program()).init();
}
}
}
--------------------------------------------------------------------------
|
- 페이지 3페이지
- 가격 1,000원
- 등록일 2010.02.26
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
min_heap(edge item, int *n);
edge delete_min_heap(int *n);
void union2(int i, int j);
int find2(int i);
int kruskal(int node_num, int *edge_num);
void file_input(void);
void keyboard_input(void);
void print(int node_num, int edge_num); //kruskal 실행 후 결과 출력
int equal(edge dat
|
- 페이지 5페이지
- 가격 2,000원
- 등록일 2007.10.29
- 파일종류 압축파일
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
Delete'는 이에 따르는 인수를 작업 메모리에서 제거시키고, 'Insert'는 삽입시킨다. 또 Stop은 시스템의 운영을 중지시키고, x는 변수이다. 조건 중에서 AND 표시는 생략하였다.
<규칙>
P1. ((Start) ((Delete Start)(Insert Continue)))
P2. ((A(BC)) ((Delete A)(Inser
|
- 페이지 5페이지
- 가격 800원
- 등록일 2006.07.07
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
min
필드명을 ( )로 묶고 각 함수는 쉼표로 분리
count(*)에는 필드명 지정안함
select count(*), avg(price), sum(price),
min(price), max(price)
from video;
{표제는 count, avg, sum, min, max로 표시됨}
select count(*) count, avg(price) avgprice,
sum(price) total, mi
|
- 페이지 34페이지
- 가격 3,300원
- 등록일 2002.12.27
- 파일종류 피피티(ppt)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|