#include<stdio.h>
main()
{
int a[80]={6,153,298,313,317,332,345,376,486};
int low=0,high=80,mid;
while(low<=high)
{
mid=(low+high)/2;
if(a[mid]==4254)
{
return mid;
}
else if(a[mid]>4254)
{
high=mid-1;
}
else
low=mid+1;
}
printf("输出mid值%d",mid);
return 0;
}