# include <stdio.h>
void main ()
{
int num[50],i,j,m,dealer[25];
int k=0,n;
scanf ("%d",&m); /*输入需要多少个数*/
for (i=0;i<m/2+1;i++)
{scanf ("%d",&dealer[i]); /*dealer叫的数*/
printf ("the dealer call %d\n",dealer[i]);
num[i]=dealer[i];
for (n=0;n<=i+1;n++) /*判断这个数dealer 是否叫过 */
{ j=0;
while (num[j]!=k)
j++;
if (j>m)
{printf ("computer programme call %d\n",k);break;}
else
k++;
}k++;
}
}
It's that ok?