摘要: 1 #define PARENT(i) (i - 1) / 2 2 3 void HEAP-INCREASE-KEY(int* A,int i,int key) 4 { 5 if (key < A[i]) 6 { 7 printf("new key is small than current key 阅读全文
posted @ 2022-02-09 20:16 SkySource 阅读(43) 评论(0) 推荐(0) 编辑