From 9374e4ab193995ae0af8983d24a193c7c6a3e861 Mon Sep 17 00:00:00 2001 From: "1011457828@qq.com" <1011457828@qq.com> Date: Thu, 10 Jan 2019 21:57:37 +0800 Subject: [PATCH] 4 commit --- 运动会计分.c | 172 ++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 159 insertions(+), 13 deletions(-) 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