如果遇到同分的要怎么样才能继续查询
#include<stdio.h>int chaxun(int d[])
{
int e,f;
scanf("%d",&e);
for(f=0;f<30;f++)
if(e==d[f])
return f+1;
void main
{
int a[30]={60,54,58,67,66,61,25,87,100,99,98,68,13,58,59,78,95,46,65,85,35,53,64,87,42,63,25,49,80,77};
printf("学号=%d\n",chaxun(b));
}