摘要: 折半查找 #include <stdio.h>#define N 10int main(){ int a[N]={-3,4,7,9,13,45,67,89,100,180},low=0,high=N-1,mid,k=-1,m; printf("a数组中的数据如下:\n"); for(int i=0; 阅读全文
posted @ 2023-04-24 18:26 灬倾夏 阅读(19) 评论(0) 推荐(0)