02 2022 档案

摘要:0~100 1 #include <stdio.h> 2 #include <stdlib.h>//包含srand和rand函数 3 #include <time.h>//包含time函数 4 5 int main (int argc,char* argv[]) 6 { 7 //随机种子 8 sra 阅读全文
posted @ 2022-02-10 13:31 SkySource 阅读(160) 评论(0) 推荐(0)
摘要: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 阅读(59) 评论(0) 推荐(0)