chrd123w吧 关注:5贴子:159
  • 0回复贴,共1
void myput(int m[],int a)
{
int i;
for(i=0;i<a;i++) {
scanf("%d",&a[i]);
}
}
void myout(int m[],int a)
{
int i;
for (i=0;i<a;i++) {
printf("%d",a[i]);
}
}
int char(int m[],int daicha)
{
int low=0,high=NUM-1,mid;
while (1) {
if (m[low]>m[high])
return -1;
mid=(low+high)/2;
if (m[mid]==daicha)
return mid;
if (m[mid]<key)
low=mid+1;
high=mid-1;
}
}
void pai(int m[])
{


IP属地:北京1楼2015-11-17 11:02回复