|
|
@ -206,7 +206,6 @@ for(i=0;i<all;i++)
|
|
|
|
if(student[i].num==num_temp)
|
|
|
|
if(student[i].num==num_temp)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
result=1;
|
|
|
|
result=1;
|
|
|
|
break;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(result==1)
|
|
|
|
if(result==1)
|
|
|
@ -222,10 +221,10 @@ do
|
|
|
|
{
|
|
|
|
{
|
|
|
|
printf("输入学号:");
|
|
|
|
printf("输入学号:");
|
|
|
|
scanf("%d",&num_temp);
|
|
|
|
scanf("%d",&num_temp);
|
|
|
|
if(num_temp>999999999)
|
|
|
|
if(num_temp<10141301)
|
|
|
|
printf("error!");
|
|
|
|
printf("error!");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
while(num_temp>99999999);
|
|
|
|
while(num_temp<10140301);
|
|
|
|
if(CheckNumber(num_temp)>0)
|
|
|
|
if(CheckNumber(num_temp)>0)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
printf("Number repeatly!\n");
|
|
|
|
printf("Number repeatly!\n");
|
|
|
@ -547,3 +546,4 @@ return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|