C语言、课程设计、选手现场比赛统分系统 #include #include #define athlete 40 #define judge 20 void countathletescore (int sh[],float sf[],int n,float f[],int m); void sort (int h[],float f[],int n); void print (int h[],float f[],int n); void countjudgescore (int ph[],float pf[],int m,float sf[],float f[],int n); main () { int j,m,n; int sh[athlete]; int ph[judge]; float sf[athlete]; float pf[judge]; float f[athlete][judge]; printf("how many athletes?"); scanf("%d",&n); printf("how many judges?"); scanf("%d",&m);
1