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