diff --git a/运动会计分.c b/运动会计分.c index 4842501..9ed6f2e 100644 --- a/运动会计分.c +++ b/运动会计分.c @@ -93,7 +93,9 @@ l: printf("\n } } } -ice,i,j,t; +void output() +{ + int choice,i,j,t; int a[n]; int sign; do @@ -158,9 +160,157 @@ ice,i,j,t; printf("\n"); } + break; + case 4:for(i=0;in)||(i<=0)) + printf("ѧУûвμӴ˴˶!\n"); + else + { + printf("ҪѯĿ:"); + scanf("%d",&j); + if(j>m+w||j==0) + printf("******************˴˶ûĿ******************\n"); + else + { + printf("Ŀȡǰ %d,ѧУijɼ:\n", h[0].c[j-1].top); + for(k=0;k<5;k++) + if(h[i-1].c[j-1].range[k]!=0) + printf(":%d\n",h[i-1].c[j-1].range[k]); + } + } + printf("Ƿ1/0?:"); + scanf("%d",&s); + printf("\n"); + }while(s==1); + break; + case 2: + do + { + printf("ҪѯĿ:"); + scanf("%d",&s); + if(s>m+w||s==0) + printf("˴˶᲻Ŀ\n"); + else + { + printf("Ŀȡǰ %d,ȡεѧУ\n",h[0].c[s-1].top); + for(i=0; i