|
|
@ -206,6 +206,7 @@ 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)
|
|
|
@ -221,10 +222,10 @@ do
|
|
|
|
{
|
|
|
|
{
|
|
|
|
printf("输入学号:");
|
|
|
|
printf("输入学号:");
|
|
|
|
scanf("%d",&num_temp);
|
|
|
|
scanf("%d",&num_temp);
|
|
|
|
if(num_temp<10141301)
|
|
|
|
if(num_temp>999999999)
|
|
|
|
printf("error!");
|
|
|
|
printf("error!");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
while(num_temp<10140301);
|
|
|
|
while(num_temp>99999999);
|
|
|
|
if(CheckNumber(num_temp)>0)
|
|
|
|
if(CheckNumber(num_temp)>0)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
printf("Number repeatly!\n");
|
|
|
|
printf("Number repeatly!\n");
|
|
|
@ -546,4 +547,3 @@ return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|