【摘要】 #include "stdio.h" int bin_search(int key[],int n,int k) { int low = 0, high = n-1, mid; while(low