first commit

master
邹邹子豪 7 years ago
parent 34a71761b4
commit f7de7e6284

@ -1,2 +0,0 @@
18408001202
18408001201

@ -8,6 +8,7 @@ struct
}stu[40];
void cunchu(int s)
{
system("cls");
int i;
long long m;
printf("\t\t\t\t\t为了方便记录,请输入你的学号:");
@ -20,17 +21,6 @@ void cunchu(int s)
fprintf(fp,"%lld %d\n",m,s);
fclose(fp);
}
int jilu(long long y)
{
FILE *fp;
if((fp=fopen("jilu.txt","a"))==NULL)
{
fp=fopen("jilu","w+");
}
fprintf(fp,"%lld\n",y);
fclose(fp);
return y;
}
int test(long long m)
{
int n=0,s=0,a=0,b=0,c=0,d=0,k,result;
@ -109,12 +99,7 @@ int kaishi()
for(n=0;n<40;n++)
if(zh[n]==m&&j==123)
{
y=m;
z=m;
jilu(y);
if(y==z)
break;
else test(m);break;
test(m);break;
}
if(n==40)
{

Binary file not shown.
Loading…
Cancel
Save