diff --git a/运动会计分.c b/运动会计分.c index f425b1e..05617a4 100644 --- a/运动会计分.c +++ b/运动会计分.c @@ -1,3 +1,98 @@ +include +#include +#include +#define n 2 +#define m 1 +#define w 1 +typedef struct +{ +int top; +int range[5]; +int mark[5]; +int itemnum;//Ŀ +}itemnode; +typedef struct +{ + int schoolnum;//ѧУ + int score;//ѧУܷ + int mscore;// + int wscore; + itemnode c[m+w];//Ŀ +}headnode; +headnode h[n]; +void input() +{ + int i,j,k,s; + for(i=0;i